From 3911cb18f01c11300ee3b2f4e7cbedc870777bcf Mon Sep 17 00:00:00 2001 From: nodist Date: Fri, 13 Nov 2026 16:27:56 -0500 Subject: rewrite --- ftdetect/kpl.vim | 2 -- ftplugin/kpl.vim | 2 -- syntax/kpl.vim | 49 ------------------------------------------------- 3 files changed, 53 deletions(-) delete mode 100644 ftdetect/kpl.vim delete mode 100644 ftplugin/kpl.vim delete mode 100644 syntax/kpl.vim diff --git a/ftdetect/kpl.vim b/ftdetect/kpl.vim deleted file mode 100644 index a151565..0000000 --- a/ftdetect/kpl.vim +++ /dev/null @@ -1,2 +0,0 @@ - -autocmd BufNewFile,BufRead *.kpl setfiletype kpl diff --git a/ftplugin/kpl.vim b/ftplugin/kpl.vim deleted file mode 100644 index c80720d..0000000 --- a/ftplugin/kpl.vim +++ /dev/null @@ -1,2 +0,0 @@ - -setlocal commentstring=//\ %s diff --git a/syntax/kpl.vim b/syntax/kpl.vim deleted file mode 100644 index 5f106d1..0000000 --- a/syntax/kpl.vim +++ /dev/null @@ -1,49 +0,0 @@ - -syn match kpl_action "[?@#`^]" -hi def link kpl_action Special - -syn match kpl_operator "`\?[$%~!&*\-+=|:<,>/]\|`^\|\.\.\|`[a-z]\w*" contains=@NoSpell -hi def link kpl_operator Operator - -syn match kpl_todo contained "\" contains=@NoSpell -syn match kpl_comment_line "\/\/.*$" contains=kpl_todo -syn region kpl_comment_range start="/\*" end="\*/" contains=kpl_todo -hi def link kpl_todo TODO -hi def link kpl_comment_line Comment -hi def link kpl_comment_range Comment - -syn match kpl_semicolon ";" -hi def link kpl_semicolon Removed - -syn match kpl_number "\%(\d_\d\|\d\)\+\%(\.\%(\d_\d\|\d\)\+\)\?" -hi def link kpl_number Number - -syn match kpl_character "'\\\?.'" contains=@NoSpell -hi def link kpl_character Added - -syn region kpl_string start=/"/ skip=/\\\\"/ end=/"/ -hi def link kpl_string String - -syn match kpl_var "[a-z]\w\{0,49}" contains=@NoSpell -hi def link kpl_var Ignore - -syn match kpl_ignore "\<_\>" -hi def link kpl_ignore Comment - -syn match kpl_constant "_\w\{1,49}" contains=@NoSpell -hi def link kpl_constant Constant - -syn match kpl_type "[A-Z]\w\{0,49}" contains=@NoSpell -hi def link kpl_type Type - -syn match kpl_tag "\.\w\{1,50}" -hi def link kpl_tag Identifier - -syn match kpl_block "[{}]" -hi def link kpl_block Function - -syn match kpl_collection "[()]" -hi def link kpl_collection Directory - -syn match kpl_modifier "\[\|\]" -hi def link kpl_modifier Changed -- cgit v1.2.3