nvim: remove trailing whitespace in config files

This commit is contained in:
tastytea 2022-08-12 14:09:38 +02:00
parent 6084378826
commit 0efa1bee90
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -11,7 +11,8 @@ vim.api.nvim_create_autocmd(
{ {
group = 'config_functions', group = 'config_functions',
pattern = { pattern = {
'*.lua', '*.cpp', '*.hpp' '*.lua', '*.cpp',
'*.hpp', '*.conf', '*.cfg', '*.ini'
}, },
callback = my_remove_trailing_whitespace callback = my_remove_trailing_whitespace
} }