diff --git a/neovim/.config/nvim/ftplugin/tex.vim b/neovim/.config/nvim/ftplugin/tex.vim new file mode 100644 index 0000000..52548d1 --- /dev/null +++ b/neovim/.config/nvim/ftplugin/tex.vim @@ -0,0 +1,6 @@ +" set german as default +setlocal spelllang=de +" folding +setlocal foldmethod=expr +setlocal foldexpr=vimtex#fold#level(v:lnum) +setlocal foldtext=vimtex#fold#text()