diff --git a/vimrc b/vimrc index b778bde..0f3cc6d 100644 --- a/vimrc +++ b/vimrc @@ -100,6 +100,8 @@ Plug 'nanotech/jellybeans.vim' Plug 'raichoo/smt-vim' +Plug 'tkztmk/vim-vala' + call plug#end() filetype plugin indent on @@ -139,6 +141,7 @@ let g:LatexBox_latexmk_preview_continuously = 1 let g:LatexBox_quickfix = 2 call tcomment#DefineType('nix', '# %s') call tcomment#DefineType('chaskell', '-- %s') +call tcomment#DefineType('vala', '// %s') au syntax tex setl iskeyword+=: au syntax tex syn region texZone start="\\begin{clilisting}" end="\\end{clilisting}\|%stopzone\>" au syntax tex syn region texZone start="\\begin{tacticslisting}" end="\\end{tacticslisting}\|%stopzone\>"