home: vim: add 'ftdetect'

This commit is contained in:
Bruno BELANYI 2021-02-23 15:07:03 +00:00
parent 6ea69fae87
commit 300e16dace
3 changed files with 8 additions and 0 deletions

View file

@ -47,6 +47,10 @@
};
xdg.configFile = {
"nvim/ftdetect" = {
source = ./ftdetect;
};
"nvim/plugin" = {
source = ./plugin;
};

View file

@ -0,0 +1,2 @@
" Use Automake filetype for `local.am` files, explicit `set` to force override
au BufNewFile,BufRead local.am set filetype=automake

View file

@ -0,0 +1,2 @@
" Use LaTeX filetype for TikZ files
au BufNewFile,BufRead *.tikz setfiletype tex