summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-03-23 12:17:41 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-03-23 12:17:41 +0000
commite1145d4fa9cad91e2e1e5d63151b802b9039adcd (patch)
tree3fd4eea1c1a5b8c9d58c7e5b8c01c45ae8946a88
parentab18a81e4d501368efdcafcc613762ce4e919810 (diff)
[vim] Improve syntax highlighting for latex
-rw-r--r--vim/vimrc8
1 files 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