From 569c4dddb04154967cbdc15ba395a45d110dc56e Mon Sep 17 00:00:00 2001 From: nodist Date: Sat, 16 May 2026 15:10:33 -0400 Subject: update keyword as start with a-z but call be followed with \w --- syntax/kpl.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/kpl.vim b/syntax/kpl.vim index 70a422c..9722c79 100644 --- a/syntax/kpl.vim +++ b/syntax/kpl.vim @@ -28,7 +28,7 @@ syn match kplVar "[a-z]\w*" contains=@NoSpell hi def link kplVar Ignore " Ignore -syn match kplIgnore "_\w*" contains=@NoSpell +syn match kplIgnore "\<_\w*" contains=@NoSpell hi def link kplIgnore Comment " Symbol @@ -36,7 +36,7 @@ syn match kplSymbol "\.\w\+" contains=@NoSpell hi def link kplSymbol Identifier " Keyword -syn match kplKeyword "`[a-z]\+" contains=@NoSpell +syn match kplKeyword "`[a-z]\w*" contains=@NoSpell hi def link kplKeyword Conditional " Type -- cgit v1.2.3