]> gitweb.factorcode.org Git - factor.git/commitdiff
misc/vim: Fix ALIEN: highlighting
authorGiftpflanze <gifti@tools.wmflabs.org>
Mon, 22 May 2023 22:53:28 +0000 (00:53 +0200)
committerGiftpflanze <gifti@tools.wmflabs.org>
Mon, 22 May 2023 22:57:50 +0000 (00:57 +0200)
Fixes #2744

misc/vim/syntax/factor.vim

index 55c486072db18d4b16c8fd79754995d8dd509f9a..e015e1868844ba89cd110c43ec917ee2b4a953fd 100644 (file)
@@ -255,7 +255,7 @@ syn region  factorStructSlot      matchgroup=factorStructSlotDelims start=/\v<\{
 syn region  factorStruct          matchgroup=factorStructDelims     start=/\v<%(%(UNION-)?STRUCT):>/ skip=/\v<!>.*/  end=/\v<;>/  contains=@factorComment,factorStructSlot
 
 syn region  factorAlias             start=/\v<ALIAS:>/           skip=/\v<!>.*/     end=/\v<\S+%(\_\s+%(!>.*)?)+\S+>/   contains=@factorComment keepend
-syn region  factorAlien             start=/\v<ALIEN:>/           skip=/\v<!>.*/     end=/\v<\S+>/   contains=@factorComment,@factorHexNoRadix
+syn region  factorAlien             start=/\v<ALIEN:>/           skip=/\v<!>.*/     end=/\v>/       contains=@factorComment,@factorHexNoRadix
 syn region  factorConstant          start=/\v<CONSTANT:>/        skip=/\v<!>.*/     end=/\v<\S+>/   contains=@factorComment
 syn region  factorDefer             start=/\v<DEFER:>/           skip=/\v<!>.*/     end=/\v<\S+>/   contains=@factorComment
 syn region  factorEbnf              start=/\v<EBNF:>/            skip=/\v<!>.*/     end=/\v<\S+>/   contains=@factorComment