dot-files/vim/.vim/after/ftplugin/tex.vim

7 lines
204 B
VimL
Raw Permalink Normal View History

2020-01-13 15:51:29 +01:00
" 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<'