summaryrefslogtreecommitdiff
path: root/syntax/kpl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/kpl.vim')
-rw-r--r--syntax/kpl.vim4
1 files 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