diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim new file mode 100644 index 0000000..f0560da --- /dev/null +++ b/vim/.vim/after/ftplugin/tex.vim @@ -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<'