vim: vala support

This commit is contained in:
Gabriel Ebner 2016-07-24 18:50:12 +02:00
parent 7bb34aab46
commit b978ff35d3

3
vimrc

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