vim: add the keyword `with`
authorJean Privat <jean@pryen.org>
Thu, 24 Sep 2015 17:09:31 +0000 (13:09 -0400)
committerJean Privat <jean@pryen.org>
Thu, 24 Sep 2015 17:09:31 +0000 (13:09 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

misc/vim/syntax/nit.vim

index 2930d81..b5d86ac 100644 (file)
@@ -88,7 +88,7 @@ syn match  NITComment "#.*" contains=NITTodo,@Spell
 " Keywords
 syn keyword NITKeyword  abstract intern new
 syn keyword NITDefine   private public protected intrude readable writable redef
 " Keywords
 syn keyword NITKeyword  abstract intern new
 syn keyword NITDefine   private public protected intrude readable writable redef
-syn keyword NITControl   if while for assert and or in as isa once break continue return abort
+syn keyword NITControl   if while for with assert and or in as isa once break continue return abort
 syn keyword NITClass     nullable
 syn keyword NITInclude   special
 syn keyword NITTodo      FIXME NOTE TODO XXX contained
 syn keyword NITClass     nullable
 syn keyword NITInclude   special
 syn keyword NITTodo      FIXME NOTE TODO XXX contained