summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-02-17 15:27:42 +0100
committerUrbain Vaes <urbain@vaes.uk>2019-02-17 15:27:42 +0100
commit8933be64e56ba7ddcd2d30f6135ab862a883e782 (patch)
tree071d5f30f77a1b4ec98a77c9c914bc6a627f3503 /vim/.vimrc
parent4cc0693d76a370e4e4d65e09a36d8fb06e49bdec (diff)
Minor changes
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc9
1 files changed, 3 insertions, 6 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 20fe884..11f5469 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -229,10 +229,11 @@ let g:UltiSnipsSnippetsDir="~/.vim/mySnippets"
" let g:UltiSnipsUsePythonVersion=3
" Vimtex
-let g:vimtex_fold_enabled=1
+let g:vimtex_fold_enabled=1 " Makes %s slow!
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=2
let g:vimtex_compiler_progname='nvr'
+let g:vimtex_syntax_enabled=1
" Pilot
let g:pilot_boundary='ignore'
@@ -253,8 +254,6 @@ endif
function! Multiple_cursors_before()
if has("nvim")
let b:deoplete_disable_auto_complete = 1
- else
- execute 'NeoCompleteLock'
endif
endfunction
@@ -262,8 +261,6 @@ function! Multiple_cursors_after()
if has("nvim")
let b:deoplete_disable_auto_complete = 0
else
- execute 'NeoCompleteUnlock'
- endif
endfunction
"" Vim variables {{{1
@@ -419,7 +416,7 @@ augroup vimrc
autocmd FileType gnuplot setlocal commentstring=#%s
autocmd FileType gnuplot setlocal makeprg=gnuplot\ %
autocmd FileType python setlocal makeprg=python\ %
- autocmd FileType tex setlocal spell
+ autocmd FileType tex setlocal spell spelllang=en_us
" Dirvish
autocmd FileType dirvish nnoremap <buffer> t :!touch %