File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ syn match kittyComment /^\s*#.*$/ contains=kittyTodo
12
12
syn match kittyInclude ' ^\s *\( env\| glob\)\? include' display
13
13
syn match kittyMap ' ^\s *\( mouse_\)\? map' nextgroup =kittyKeybind
14
14
syn match kittyInvalidKeyword ' \S *' contained
15
- syn match kittyActionKW ' \s *\S *' contained contains =kittyAction,kittyInvalidAction
15
+ syn match kittyActionKW ' \s *\S *' contained contains =kittyAction,kittyEvent, kittyInvalidAction
16
16
syn match kittyInvalidAction ' \S *' contained
17
17
18
18
hi def link kittyAction Function
19
19
hi def link kittyColor Number
20
20
hi def link kittyComment Comment
21
+ hi def link kittyEvent Function
21
22
hi def link kittyInclude Include
22
23
hi def link kittyInvalidAction Error
23
24
hi def link kittyInvalidKeyword Error
@@ -34,6 +35,8 @@ let b:current_syntax = "kitty"
34
35
35
36
syn keyword kittyMod contained ctrl alt shift cmd super hyper meta kitty_mod
36
37
syn keyword kittyTodo contained TODO FIXME XXX contained
38
+ syn keyword kittyEvent contained
39
+ \ press release doublepress triplepress click doubleclick
37
40
" START GENERATED CODE
38
41
syn keyword kittyKeyword contained
39
42
\ action_alias active_border_color active_tab_background active_tab_font_style active_tab_foreground active_tab_title_template allow_cloning allow_hyperlinks
You can’t perform that action at this time.
0 commit comments