home: vim: add 'ftdetect'
This commit is contained in:
parent
6ea69fae87
commit
300e16dace
3 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue