syntax highlight correction for list in values with only one member

This commit is contained in:
Stefan Friese 2023-12-08 14:50:02 +01:00
parent fc79de71e6
commit 1e13e73da7
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ highlight link confKey Identifier
syntax match confValue "[^\n]*" contained
highlight link confValue String
syntax match confObjectHeader "^\[\[\S+\]\]/$"
syntax match confObjectHeader /\v\[\S+\]/
syntax match confObjectHeader "^\[\[\S+[^,]\]\]/$"
syntax match confObjectHeader /\v\[\S+[^,]\]/
highlight link confObjectHeader Type