From 1e13e73da74baf09184c9c1b9cf19e8374e482fa Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Fri, 8 Dec 2023 14:50:02 +0100 Subject: [PATCH] syntax highlight correction for list in values with only one member --- vim/.vim/syntax/conf.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/.vim/syntax/conf.vim b/vim/.vim/syntax/conf.vim index fbabcd9..6ee3651 100644 --- a/vim/.vim/syntax/conf.vim +++ b/vim/.vim/syntax/conf.vim @@ -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