1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

vim: disable vimtex autoindent

This commit is contained in:
Joe Groocock 2018-04-03 17:12:32 +01:00
parent eadeba5baa
commit 771cdf4b5d
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -116,6 +116,7 @@ endif
let g:ycm_semantic_triggers.tex = g:vimtex#re#youcompleteme let g:ycm_semantic_triggers.tex = g:vimtex#re#youcompleteme
"let g:vimtex_view_method='zathura' "let g:vimtex_view_method='zathura'
let g:tex_flavor='latex' let g:tex_flavor='latex'
let g:vimtex_indent_enabled = 0 " auto-indentation is wrong and annoying
autocmd FileType tex silent VimtexCompile autocmd FileType tex silent VimtexCompile
autocmd FileType tex setlocal spell autocmd FileType tex setlocal spell
autocmd FileType tex TagbarOpen autocmd FileType tex TagbarOpen