local M = {} M.setup = function() -- NOTE: Remove trailing whitespace on save vim.api.nvim_create_autocmd('BufWritePre', { command = '%s/\\s\\+$//e', }) end return M