From 8346f94fdecc53e8ec9280dcb2c87629d6147f60 Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Mon, 22 Jan 2024 00:41:59 +0100 Subject: [PATCH] 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 --- lua/config/autocmds.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/config/autocmds.lua b/lua/config/autocmds.lua index 5d4ab99..763a429 100644 --- a/lua/config/autocmds.lua +++ b/lua/config/autocmds.lua @@ -1,5 +1,5 @@ -vim.api.nvim_create_autocmd({"BufWritePre"}, { - group = vim.api.nvim_create_augroup("Default", {}), - pattern = "*", - command = [[%s/\s\+$//e]], -}) +-- vim.api.nvim_create_autocmd({"BufWritePre"}, { +-- group = vim.api.nvim_create_augroup("Default", {}), +-- pattern = "*", +-- command = [[%s/\s\+$//e]], +-- })