From 0efa1bee906ea29b4b13327de1079442ac57296c Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 12 Aug 2022 14:09:38 +0200 Subject: [PATCH] nvim: remove trailing whitespace in config files --- .config/nvim/lua/my/functions.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/my/functions.lua b/.config/nvim/lua/my/functions.lua index 9a1824e..c05ecb0 100644 --- a/.config/nvim/lua/my/functions.lua +++ b/.config/nvim/lua/my/functions.lua @@ -11,7 +11,8 @@ vim.api.nvim_create_autocmd( { group = 'config_functions', pattern = { - '*.lua', '*.cpp', '*.hpp' + '*.lua', '*.cpp', + '*.hpp', '*.conf', '*.cfg', '*.ini' }, callback = my_remove_trailing_whitespace }