]> gitweb.factorcode.org Git - factor.git/commitdiff
misc/vim/syntax/factor.vim: workaround for factorHook match issue
authorKeita Haga <keitahaga@mail.com>
Mon, 4 Apr 2011 10:59:56 +0000 (19:59 +0900)
committerKeita Haga <keitahaga@mail.com>
Mon, 4 Apr 2011 10:59:56 +0000 (19:59 +0900)
misc/vim/syntax/factor.vim

index 35b7a4c253b5702f20bb0edd2d4e1baf4ddfe2c5..e2e2355436cf4ae7c2c40f569cfdd73784bcf5e0 100644 (file)
@@ -115,7 +115,7 @@ syn match   factorDefer         /\<DEFER:\s\+\S\+\>/
 syn match   factorForget        /\<FORGET:\s\+\S\+\>/
 syn match   factorMixin         /\<MIXIN:\s\+\S\+\>/
 syn match   factorInstance      /\<INSTANCE:\s\+\S\+\s\+\S\+\>/
-syn match   factorHook          /\<HOOK:\s\+\S\+\s\+\S\+\>/
+syn match   factorHook          /\<HOOK:\s\+\S\+\s\+\S\+\>/ nextgroup=factorStackEffect skipwhite skipempty
 syn match   factorMain          /\<MAIN:\s\+\S\+\>/
 syn match   factorConstructor   /\<C:\s\+\S\+\s\+\S\+\>/
 syn match   factorAlien         /\<ALIEN:\s\+[0-9a-fA-F]\([0-9a-fA-F,]*[0-9a-fA-F]\)\?\>/