Browse Source

tex: disable spell check in comments

:h tex-nospel
https://stackoverflow.com/a/48190539/5894777
Fabian Peter Hammerle 1 month ago
parent
commit
d62f24cea6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vimrc

+ 1 - 0
vimrc

@@ -69,6 +69,7 @@ filetype plugin indent on
 set completeopt=longest,menuone
 autocmd FileType gitcommit,tex setlocal spell
 autocmd FileType mail setlocal spell spelllang=de_at
+let g:tex_comment_nospell= 1
 
 " https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md#patches
 set modelines=0