home: vim: add 'ftdetect'
This commit is contained in:
parent
6ea69fae87
commit
300e16dace
|
@ -47,6 +47,10 @@
|
|||
};
|
||||
|
||||
xdg.configFile = {
|
||||
"nvim/ftdetect" = {
|
||||
source = ./ftdetect;
|
||||
};
|
||||
|
||||
"nvim/plugin" = {
|
||||
source = ./plugin;
|
||||
};
|
||||
|
|
2
home/vim/ftdetect/automake.vim
Normal file
2
home/vim/ftdetect/automake.vim
Normal 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
|
2
home/vim/ftdetect/tikz.vim
Normal file
2
home/vim/ftdetect/tikz.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
" Use LaTeX filetype for TikZ files
|
||||
au BufNewFile,BufRead *.tikz setfiletype tex
|
Loading…
Reference in a new issue