]> gitweb.factorcode.org Git - factor.git/commitdiff
misc/vim: Fix brace coloring for maybe classes in tuple declarations
authorGiftpflanze <gifti@tools.wmflabs.org>
Wed, 31 May 2023 01:08:54 +0000 (03:08 +0200)
committerGiftpflanze <gifti@tools.wmflabs.org>
Wed, 31 May 2023 01:16:20 +0000 (03:16 +0200)
misc/vim/syntax/factor.vim

index a46b8576f4710f5844b6003a243775d558a48a65..f19ecb9508b9ab606be14ae88b1d35c794280691 100644 (file)
@@ -231,7 +231,7 @@ syn region  factorLiteral           start=/\v<\$>/     skip=/\v<!>.*/       end=
 
 syn match   factorSlotAttrReadOnly      /\v<read-only>/ contained
 syn match   factorSlotAttrInitial       /\v<initial:>%(\_\s+%(!>.*)?)+/ contains=@factorComment nextgroup=factorWord,@factorClusterValue contained
-syn cluster factorSlotAttr              contains=factorSlotAttrInitial,factorSlotAttrReadOnly
+syn cluster factorSlotAttr              contains=factorSlotAttrInitial,factorSlotAttrReadOnly,@factorArray
 
 syn cluster factorTupleSlotAttr         contains=@factorSlotAttr
 syn match   factorTupleSlotAttrSkip     /\v%(\_\s+%(!>.*)?)*/ contains=@factorComment nextgroup=@factorTupleSlotAttr contained transparent