]> gitweb.factorcode.org Git - factor.git/commitdiff
misc/vim/syntax/factor.vim: fix factorRename match
authorKeita Haga <keitahaga@mail.com>
Wed, 16 Mar 2011 11:14:42 +0000 (20:14 +0900)
committerKeita Haga <keitahaga@mail.com>
Wed, 16 Mar 2011 11:22:32 +0000 (20:22 +0900)
misc/factor.vim.fgen
misc/vim/syntax/factor.vim

index 0a27578a31df752b9ae8da304d0fdf4b84243217..2db6ffa764bb40404e1460b46dc50bca8d865cf6 100644 (file)
@@ -12,7 +12,7 @@ IN: factor.vim.fgen
 " Vim syntax file
 " Language: Factor
 " Maintainer: Alex Chapman <chapman.alex@gmail.com>
-" Last Change: 2011 Mar 15
+" Last Change: 2011 Mar 16
 " To run: USING: html.templates html.templates.fhtml ; "resource:misc/factor.vim.fgen" <fhtml> call-template
 
 " For version 5.x: Clear all syntax items
@@ -107,7 +107,7 @@ syn match   factorQualified     /\<QUALIFIED:\s\+\S\+\>/
 syn match   factorQualifiedWith /\<QUALIFIED-WITH:\s\+\S\+\s\+\S\+\>/
 syn region  factorExclude       start=/\<EXCLUDE:\>/     end=/;/
 syn region  factorFrom          start=/\<FROM:\>/        end=/;/
-syn region  factorRename        start=/\<RENAME:\>/      end=/;/
+syn match   factorRename        /\<RENAME:\s\+\S\+\s\+\S\+\s=>\s\+\S\+\>/
 syn region  factorSingletons    start=/\<SINGLETONS:\>/  end=/;/
 syn match   factorSymbol        /\<SYMBOL:\s\+\S\+\>/
 syn region  factorSymbols       start=/\<SYMBOLS:\>/     end=/;/
index cad221c690a2c966da53cece68b0d36f372ad9b5..62004df82d6eedcc3b861501222af26ee768187f 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
 " Language: Factor
 " Maintainer: Alex Chapman <chapman.alex@gmail.com>
-" Last Change: 2011 Mar 15
+" Last Change: 2011 Mar 16
 " To run: USING: html.templates html.templates.fhtml ; "resource:misc/factor.vim.fgen" <fhtml> call-template
 
 " For version 5.x: Clear all syntax items
@@ -94,7 +94,7 @@ syn match   factorQualified     /\<QUALIFIED:\s\+\S\+\>/
 syn match   factorQualifiedWith /\<QUALIFIED-WITH:\s\+\S\+\s\+\S\+\>/
 syn region  factorExclude       start=/\<EXCLUDE:\>/     end=/;/
 syn region  factorFrom          start=/\<FROM:\>/        end=/;/
-syn region  factorRename        start=/\<RENAME:\>/      end=/;/
+syn match   factorRename        /\<RENAME:\s\+\S\+\s\+\S\+\s=>\s\+\S\+\>/
 syn region  factorSingletons    start=/\<SINGLETONS:\>/  end=/;/
 syn match   factorSymbol        /\<SYMBOL:\s\+\S\+\>/
 syn region  factorSymbols       start=/\<SYMBOLS:\>/     end=/;/