chore: disable trailing space autocmds

I don't want my commits to be huge just because there are a bunch of
trailing spaces at the end of some lines, and as it is the case in the
company I'm working at right now, I have decided to disable it for now
This commit is contained in:
Simon Lasbrugnas 2024-01-22 00:41:59 +01:00
parent c64e0469a4
commit 8346f94fde
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -1,5 +1,5 @@
vim.api.nvim_create_autocmd({"BufWritePre"}, { -- vim.api.nvim_create_autocmd({"BufWritePre"}, {
group = vim.api.nvim_create_augroup("Default", {}), -- group = vim.api.nvim_create_augroup("Default", {}),
pattern = "*", -- pattern = "*",
command = [[%s/\s\+$//e]], -- command = [[%s/\s\+$//e]],
}) -- })