[ADD][VIM] Tex filetype configuration
This commit is contained in:
parent
3923fb230c
commit
e3c85a7df5
6
vim/.vim/after/ftplugin/tex.vim
Normal file
6
vim/.vim/after/ftplugin/tex.vim
Normal file
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use 2 spaces indentation inside TeX files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
Loading…
Reference in a new issue