nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
misc: update highlighters and indenters
[nit.git]
/
misc
/
vim
/
syntax
/
nit.vim
diff --git
a/misc/vim/syntax/nit.vim
b/misc/vim/syntax/nit.vim
index
b5d86ac
..
b72ee52
100644
(file)
--- a/
misc/vim/syntax/nit.vim
+++ b/
misc/vim/syntax/nit.vim
@@
-57,7
+57,7
@@
syn match NITClosure "!\h\w*"
" Fallback highlight keywords
syn match NITNull "\<\(null\)\>"
" Fallback highlight keywords
syn match NITNull "\<\(null\)\>"
-syn match NITControl "\<\(init\|end\|not null\|not\|var\|do\|then\|else\|loop\|is\)\>"
+syn match NITControl "\<\(init\|end\|not null\|not\|var\|do\|then\|catch\|else\|loop\|is\)\>"
syn match NITKeyword "\<\(super\)\>"
" Unmatchning error
syn match Error "\<end\>"
syn match NITKeyword "\<\(super\)\>"
" Unmatchning error
syn match Error "\<end\>"