From 96dc2d559bbdf589008778ff78ba6601ee0052f8 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Thu, 20 Jul 2023 10:53:49 +0300 Subject: [PATCH] fix(editorconfig): highlight properties with dashes (cherry picked from commit bcf91761bfa1377bf4b9bb1cf849068b91792b46) --- runtime/syntax/editorconfig.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/editorconfig.vim b/runtime/syntax/editorconfig.vim index 4392d2b2d5..81f193eb0a 100644 --- a/runtime/syntax/editorconfig.vim +++ b/runtime/syntax/editorconfig.vim @@ -1,7 +1,7 @@ runtime! syntax/dosini.vim unlet! b:current_syntax -syntax match editorconfigUnknownProperty "^\s*\zs\w\+\ze\s*=" +syntax match editorconfigUnknownProperty "^\s*\zs[a-zA-Z0-9_-]\+\ze\s*=" syntax keyword editorconfigProperty root lua<<