From e1145d4fa9cad91e2e1e5d63151b802b9039adcd Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 23 Mar 2016 12:17:41 +0000 Subject: [vim] Improve syntax highlighting for latex --- vim/vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index e9bab6c..69d2ea8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -72,9 +72,9 @@ Plug 'tpope/vim-dispatch' Plug 'tpope/vim-eunuch' Plug 'tpope/vim-flagship' function Mixed_indent() - let b:spaces=search('\v(^ +)','n') - let b:tabs=search('\v(^\t+)','n') - return (b:spaces * b:tabs > 0) + let l:spaces=search('\v(^ +)','n') + let l:tabs=search('\v(^\t+)','n') + return (l:spaces * l:tabs > 0) endfunction augroup myflags @@ -96,6 +96,7 @@ Plug 'tpope/vim-vinegar' Plug 'troydm/zoomwintab.vim' Plug 'vim-scripts/gmsh.vim' Plug 'holomorph/vim-freefem' +Plug 'nanotech/jellybeans.vim' if has("nvim") Plug 'benekastah/neomake' @@ -133,7 +134,6 @@ call plug#end() let g:tex_conceal= 'adgm' let g:tex_flavor='latex' -let g:tex_fast="1" let g:tabprefix = "" "" Vim options -- cgit v1.2.3