vim: Make tex the default filetype for *.tex
This commit is contained in:
parent
e8da0b1f50
commit
38b6ae0124
|
@ -1,6 +1,7 @@
|
|||
" Set unknown filetypes
|
||||
au BufRead,BufNewFile *.scad setfiletype openscad
|
||||
au BufRead,BufNewFile *.vpy setfiletype python
|
||||
autocmd BufRead,BufNewFile *.scad set filetype=openscad
|
||||
autocmd BufRead,BufNewFile *.vpy set filetype=python
|
||||
autocmd BufRead,BufNewFile *.tex set filetype=tex
|
||||
|
||||
" Set properties
|
||||
autocmd Filetype arduino setlocal ts=2 sw=2 sts=2 expandtab
|
||||
|
|
Reference in a new issue