nvim: remove trailing whitespace in config files
This commit is contained in:
parent
6084378826
commit
0efa1bee90
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user