annotate runtime/syntax/i3config.vim @ 34669:fe206762c077

Update README.txt and README.md (#14313) Commit: https://github.com/vim/vim/commit/b75825f749cf87feb9ae8e7e5327bd2efe707c86 Author: Restorer <69863286+RestorerZ@users.noreply.github.com> Date: Thu Mar 28 09:14:47 2024 +0000 Update README.txt and README.md (https://github.com/vim/vim/issues/14313) Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Mar 2024 10:15:11 +0100
parents a7faf8df24ef
children 5599fba31c2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: i3 config file
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
3 " Original Author: Josef Litos (JosefLitos/i3config.vim)
27036
3e661b0cf500 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 26591
diff changeset
4 " Maintainer: Quentin Hibon (github user hiqua)
34162
a7faf8df24ef runtime(i3config): remove always from `focus_follows_mouse`
Christian Brabandt <cb@256bit.org>
parents: 33751
diff changeset
5 " Version: 1.0.2
a7faf8df24ef runtime(i3config): remove always from `focus_follows_mouse`
Christian Brabandt <cb@256bit.org>
parents: 33751
diff changeset
6 " Last Change: 2023-12-28
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 " References:
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 " http://i3wm.org/docs/userguide.html#configuring
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 " http://vimdoc.sourceforge.net/htmldoc/syntax.html
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 "
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 "
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 " Quit when a syntax file was already loaded
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 if exists("b:current_syntax")
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 finish
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 endif
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 scriptencoding utf-8
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19
29533
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29087
diff changeset
20 " Error
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
21 syn match i3ConfigError /.\+/
29533
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29087
diff changeset
22
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 " Todo
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 syn keyword i3ConfigTodo TODO FIXME XXX contained
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
26 " Helper type definitions
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
27 syn match i3ConfigSeparator /[,;\\]/ contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
28 syn match i3ConfigParen /[{}]/ contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
29 syn keyword i3ConfigBoolean yes no enabled disabled on off true false contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
30 syn region i3ConfigString start=/\W\@<="/ skip=/\\\("\|$\)/ end=/"\|$/ contained contains=i3ConfigShCommand,i3ConfigShDelim,i3ConfigShOper,i3ConfigShParam,i3ConfigNumber,i3ConfigVariable,i3ConfigExecAction keepend extend
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
31 syn region i3ConfigString start=/\W\@<='/ skip=/\\$/ end=/'\|$/ contained contains=i3ConfigShCommand,i3ConfigShDelim,i3ConfigShOper,i3ConfigShParam,i3ConfigNumber,i3ConfigVariable,i3ConfigExecAction keepend extend
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
32 syn match i3ConfigColor /#[0-9A-Fa-f]\{3,8}/ contained
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
33 syn match i3ConfigNumber /[0-9A-Za-z_$-]\@<!-\?\d\+\w\@!/ contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
34
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
35 " 4.1 Include directive
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
36 syn keyword i3ConfigIncludeKeyword include contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
37 syn match i3ConfigIncludeCommand /`[^`]*`/ contained contains=i3ConfigShDelim,i3ConfigShParam,i3ConfigShOper,i3ConfigShCommand,i3ConfigString
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
38 syn match i3ConfigParamLine /^include .*$/ contains=i3ConfigIncludeKeyword,i3ConfigString,i3ConfigVariable,i3ConfigIncludeCommand,i3ConfigShOper
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
39
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
40 " 4.2 Comments
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 syn match i3ConfigComment /^\s*#.*$/ contains=i3ConfigTodo
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
43 " 4.3 Fonts
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44 syn keyword i3ConfigFontKeyword font contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
45 syn match i3ConfigColonOperator /:/ contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
46 syn match i3ConfigFontNamespace /\w\+:/ contained contains=i3ConfigColonOperator
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
47 syn match i3ConfigFontSize / \d\+\(px\)\?\s\?$/ contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
48 syn region i3ConfigFont start=/^\s*font / skip=/\\$/ end=/$/ contains=i3ConfigFontKeyword,i3ConfigFontNamespace,i3ConfigFontSize,i3ConfigSeparator keepend
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
50 " 4.4-4.5 Keyboard/Mouse bindings
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
51 syn keyword i3ConfigBindKeyword bindsym bindcode contained
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
52 syn match i3ConfigBindArgument /--\(release\|border\|whole-window\|exclude-titlebar\)/ contained
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
53 syn match i3ConfigBindModifier /+/ contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
54 syn keyword i3ConfigBindModkey Ctrl Shift Mod1 Mod2 Mod3 Mod4 Mod5 contained
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
55 syn match i3ConfigBindCombo /[$0-9A-Za-z_+]\+ / contained contains=i3ConfigBindModifier,i3ConfigVariable,i3ConfigBindModkey
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
56 syn match i3ConfigBindComboLine /bind\(sym\|code\)\( --[a-z-]\+\)* [$0-9A-Za-z_+]\+ / contained contains=i3ConfigBindKeyword,i3ConfigBindArgument,i3ConfigBindCombo
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
57 syn region i3ConfigBind start=/^\s*bind\(sym\|code\) / skip=/\\$/ end=/$/ contains=i3ConfigBindComboLine,i3ConfigCriteria,i3ConfigAction,i3ConfigSeparator,i3ConfigActionKeyword,i3ConfigOption,i3ConfigString,i3ConfigNumber,i3ConfigVariable,i3ConfigBoolean keepend
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
58
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
59 " 4.6 Binding modes
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
60 syn region i3ConfigKeyword start=/^mode\( --pango_markup\)\? \([^'" {]\+\|'[^']\+'\|".\+"\)\s\+{$/ end=/^\s*}$/ contains=i3ConfigShParam,i3ConfigString,i3ConfigBind,i3ConfigComment,i3ConfigNumber,i3ConfigParen,i3ConfigVariable fold keepend extend
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
62 " 4.7 Floating modifier
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
63 syn match i3ConfigKeyword /^floating_modifier [$0-9A-Za-z]*$/ contains=i3ConfigVariable,i3ConfigBindModkey
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
64
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
65 " 4.8 Floating window size
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
66 syn keyword i3ConfigSizeSpecial x contained
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
67 syn match i3ConfigSize / -\?\d\+ x -\?\d\+/ contained contains=i3ConfigSizeSpecial,i3ConfigNumber
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
68 syn match i3ConfigKeyword /^floating_\(maximum\|minimum\)_size .*$/ contains=i3ConfigSize
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
69
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
70 " 4.9 Orientation
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
71 syn keyword i3ConfigOrientationOpts vertical horizontal auto contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
72 syn match i3ConfigKeyword /^default_orientation \w*$/ contains=i3ConfigOrientationOpts
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
73
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
74 " 4.10 Layout mode
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
75 syn keyword i3ConfigWorkspaceLayoutOpts default stacking tabbed contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
76 syn match i3ConfigKeyword /^workspace_layout \w*$/ contains=i3ConfigWorkspaceLayoutOpts
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
77
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
78 " 4.11 Title alignment
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
79 syn keyword i3ConfigTitleAlignOpts left center right contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
80 syn match i3ConfigKeyword /^title_align .*$/ contains=i3ConfigTitleAlignOpts
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
81
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
82 " 4.12 Border style
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
83 syn keyword i3ConfigBorderOpts none normal pixel contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
84 syn match i3ConfigKeyword /^default\(_floating\)\?_border .*$/ contains=i3ConfigBorderOpts,i3ConfigNumber,i3ConfigVariable
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
85
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
86 " 4.13 Hide edge borders
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
87 syn keyword i3ConfigEdgeOpts none vertical horizontal both smart smart_no_gaps contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
88 syn match i3ConfigKeyword /^hide_edge_borders \w*$/ contains=i3ConfigEdgeOpts
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
89
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
90 " 4.14 Smart Borders
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
91 syn keyword i3ConfigSmartBorderOpts no_gaps contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
92 syn match i3ConfigKeyword /^smart_borders \(on\|off\|no_gaps\)$/ contains=i3ConfigSmartBorderOpts,i3ConfigBoolean
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
93
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
94 " 4.15 Arbitrary commands
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
95 syn region i3ConfigKeyword start=/^for_window / end=/$/ contains=i3ConfigForWindowKeyword,i3ConfigCriteria keepend
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
96
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
97 " 4.16 No opening focus
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
98 syn match i3ConfigKeyword /^no_focus .*$/ contains=i3ConfigCondition
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
99
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
100 " 4.17 Variables
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
101 syn match i3ConfigVariable /\$[0-9A-Za-z_:|[\]-]\+/
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
102 syn keyword i3ConfigSetKeyword set contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
103 syn match i3ConfigSet /^set \$.*$/ contains=i3ConfigSetKeyword,i3ConfigVariable,i3ConfigColor,i3ConfigString,i3ConfigNumber,i3ConfigShCommand,i3ConfigShDelim,i3ConfigShParam,i3ConfigShOper,i3ConfigBindModkey
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
104
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
105 " 4.18 X resources
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
106 syn keyword i3ConfigResourceKeyword set_from_resource contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
107 syn match i3ConfigParamLine /^set_from_resource\s\+.*$/ contains=i3ConfigResourceKeyword,i3ConfigCondition,i3ConfigColor,i3ConfigVariable,i3ConfigString,i3ConfigNumber
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
108
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
109 " 4.19 Assign clients to workspaces
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
110 syn keyword i3ConfigAssignKeyword assign contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
111 syn match i3ConfigAssignSpecial /→\|number/ contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
112 syn match i3ConfigAssign /^assign .*$/ contains=i3ConfigAssignKeyword,i3ConfigAssignSpecial,i3ConfigCondition,i3ConfigVariable,i3ConfigString,i3ConfigNumber
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
113
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
114 " 4.20 Executing shell commands
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
115 syn keyword i3ConfigExecKeyword exec contained
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
116 syn keyword i3ConfigExecAlwaysKeyword exec_always contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
117 syn match i3ConfigShCmdDelim /\$(/ contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
118 syn region i3ConfigShCommand start=/\$(/ end=/)/ contained contains=i3ConfigShCmdDelim,i3ConfigExecAction,i3ConfigShCommand,i3ConfigShDelim,i3ConfigShOper,i3ConfigShParam,i3ConfigString,i3ConfigNumber,i3ConfigVariable keepend extend
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
119 syn match i3ConfigShDelim /[[\]{}();`]\+/ contained
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
120 syn match i3ConfigShOper /[<>&|+=~^*!.?]\+/ contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
121 syn match i3ConfigShParam /\<-[0-9A-Za-z_-]\+\>/ contained containedin=i3ConfigVar
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
122 syn region i3ConfigExec start=/^\s*exec\(_always\)\?\( --no-startup-id\)\? [^{]/ skip=/\\$/ end=/$/ contains=i3ConfigExecKeyword,i3ConfigExecAlwaysKeyword,i3ConfigShCommand,i3ConfigShDelim,i3ConfigShOper,i3ConfigShParam,i3ConfigNumber,i3ConfigString,i3ConfigVariable,i3ConfigExecAction keepend
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
123
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
124 " 4.21 Workspaces per output
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
125 syn keyword i3ConfigWorkspaceKeyword workspace contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
126 syn keyword i3ConfigWorkspaceOutput output contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
127 syn keyword i3ConfigWorkspaceDir prev next back_and_forth number contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
128 syn region i3ConfigWorkspaceLine start=/^workspace / skip=/\\$/ end=/$/ contains=i3ConfigWorkspaceKeyword,i3ConfigNumber,i3ConfigString,i3ConfigGaps,i3ConfigWorkspaceOutput,i3ConfigVariable,i3ConfigBoolean,i3ConfigSeparator keepend
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
129
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
130 " 4.22 Changing colors
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
131 syn match i3ConfigDotOperator /\./ contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
132 syn keyword i3ConfigClientOpts focused focused_inactive unfocused urgent placeholder background contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
133 syn match i3ConfigKeyword /^client\..*$/ contains=i3ConfigDotOperator,i3ConfigClientOpts,i3ConfigColor,i3ConfigVariable
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
134
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
135 " 4.23 Interprocess communication
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
136 syn match i3ConfigIpcKeyword /ipc-socket/ contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
137 syn match i3ConfigParamLine /^ipc-socket .*$/ contains=i3ConfigIpcKeyword
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
138
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
139 " 4.24 Focus follows mouse
34162
a7faf8df24ef runtime(i3config): remove always from `focus_follows_mouse`
Christian Brabandt <cb@256bit.org>
parents: 33751
diff changeset
140 syn match i3ConfigKeyword /^focus_follows_mouse \(yes\|no\)$/ contains=i3ConfigBoolean
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
141
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
142 " 4.25 Mouse warping
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
143 syn keyword i3ConfigMouseWarpingOpts output container none contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
144 syn match i3ConfigKeyword /^mouse_warping \w*$/ contains=i3ConfigMouseWarpingOpts
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
145
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
146 " 4.26 Popups while fullscreen
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
147 syn keyword i3ConfigPopupFullscreenOpts smart ignore leave_fullscreen contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
148 syn match i3ConfigKeyword /^popup_during_fullscreen \w*$/ contains=i3ConfigPopupFullscreenOpts
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
149
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
150 " 4.27 Focus wrapping
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
151 syn keyword i3ConfigFocusWrappingOpts force workspace contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
152 syn match i3ConfigKeyword /^focus_wrapping \(yes\|no\|force\|workspace\)$/ contains=i3ConfigBoolean,i3ConfigFocusWrappingOpts
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
153
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
154 " 4.28 Forcing Xinerama
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
155 syn match i3ConfigKeyword /^force_xinerama \(yes\|no\)$/ contains=i3ConfigBoolean
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
156
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
157 " 4.29 Automatic workspace back-and-forth
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
158 syn match i3ConfigKeyword /^workspace_auto_back_and_forth \(yes\|no\)$/ contains=i3ConfigBoolean
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
159
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
160 " 4.30 Delay urgency hint
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
161 syn keyword i3ConfigTimeUnit ms contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
162 syn match i3ConfigKeyword /^force_display_urgency_hint \d\+\( ms\)\?$/ contains=i3ConfigNumber,i3ConfigTimeUnit
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
163
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
164 " 4.31 Focus on window activation
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
165 syn keyword i3ConfigFocusOnActivationOpts smart urgent focus none contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
166 syn match i3ConfigKeyword /^focus_on_window_activation \w*$/ contains=i3ConfigFocusOnActivationOpts
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
167
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
168 " 4.32 Show marks in title
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
169 syn match i3ConfigShowMarks /^show_marks \(yes\|no\)$/ contains=i3ConfigBoolean
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
170
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
171 " 4.34 Tiling drag
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
172 syn keyword i3ConfigTilingDragOpts modifier titlebar contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
173 syn match i3ConfigKeyword /^tiling_drag\( off\|\( modifier\| titlebar\)\{1,2\}\)$/ contains=i3ConfigTilingDragOpts,i3ConfigBoolean
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
174
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
175 " 4.35 Gaps
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
176 syn keyword i3ConfigGapsOpts inner outer horizontal vertical left right top bottom current all set plus minus toggle contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
177 syn region i3ConfigGaps start=/gaps/ skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigGapsOpts,i3ConfigNumber,i3ConfigVariable,i3ConfigSeparator keepend
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
178 syn match i3ConfigGapsLine /^gaps .*$/ contains=i3ConfigGaps
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
179 syn keyword i3ConfigSmartGapOpts inverse_outer contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
180 syn match i3ConfigKeyword /^smart_gaps \(on\|off\|inverse_outer\)$/ contains=i3ConfigSmartGapOpts,i3ConfigBoolean
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
181
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
182 " 5 Configuring bar
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
183 syn match i3ConfigBarModifier /^\s\+modifier \S\+$/ contained contains=i3ConfigBindModifier,i3ConfigVariable,i3ConfigBindModkey,i3ConfigBarOptVals
33751
7f15cfe11f8d runtime(i3config): Update for i3 4.23 (#13522)
Christian Brabandt <cb@256bit.org>
parents: 33369
diff changeset
184 syn keyword i3ConfigBarOpts bar i3bar_command status_command workspace_command mode hidden_state id position output tray_output tray_padding separator_symbol workspace_buttons workspace_min_width strip_workspace_numbers strip_workspace_name binding_mode_indicator padding contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
185 syn keyword i3ConfigBarOptVals dock hide invisible show none top bottom primary nonprimary contained
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
186 syn region i3ConfigBarBlock start=/^bar {$/ end=/^}$/ contains=i3ConfigBarOpts,i3ConfigBarOptVals,i3ConfigBarModifier,i3ConfigBind,i3ConfigString,i3ConfigComment,i3ConfigFont,i3ConfigBoolean,i3ConfigNumber,i3ConfigParen,i3ConfigColor,i3ConfigVariable,i3ConfigColorsBlock,i3ConfigShOper,i3ConfigShCommand fold keepend extend
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
187
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
188 " 5.16 Color block
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
189 syn keyword i3ConfigColorsKeyword colors contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
190 syn match i3ConfigColorsOpts /\(focused_\)\?\(background\|statusline\|separator\)\|\(focused\|active\|inactive\|urgent\)_workspace\|binding_mode/ contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
191 syn region i3ConfigColorsBlock start=/^\s\+colors {$/ end=/^\s\+}$/ contained contains=i3ConfigColorsKeyword,i3ConfigColorsOpts,i3ConfigColor,i3ConfigVariable,i3ConfigComment,i3ConfigParen fold keepend extend
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
192
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
193 " 6.0 Command criteria
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
194 syn keyword i3ConfigConditionProp class instance window_role window_type machine id title urgent workspace con_mark con_id floating_from tiling_from contained
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
195 syn keyword i3ConfigConditionSpecial __focused__ all floating tiling contained
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
196 syn region i3ConfigCondition start=/\[/ end=/\]/ contained contains=i3ConfigShDelim,i3ConfigConditionProp,i3ConfigShOper,i3ConfigConditionSpecial,i3ConfigNumber,i3ConfigString keepend extend
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
197 syn region i3ConfigCriteria start=/\[/ skip=/\\$/ end=/\(;\|$\)/ contained contains=i3ConfigCondition,i3ConfigAction,i3ConfigActionKeyword,i3ConfigOption,i3ConfigBoolean,i3ConfigNumber,i3ConfigVariable,i3ConfigSeparator keepend transparent
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
198
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
199 " 6.1 Actions through shell
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
200 syn match i3ConfigExecActionKeyword /i3-msg/ contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
201 syn region i3ConfigExecAction start=/[a-z3-]\+msg "/ skip=/ "\|\\$/ end=/"\|$/ contained contains=i3ConfigExecActionKeyword,i3ConfigShCommand,i3ConfigNumber,i3ConfigShOper,i3ConfigCriteria,i3ConfigAction,i3ConfigActionKeyword,i3ConfigOption,i3ConfigVariable keepend extend
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
202 syn region i3ConfigExecAction start=/[a-z3-]\+msg '/ skip=/ '\|\\$/ end=/'\|$/ contained contains=i3ConfigExecActionKeyword,i3ConfigShCommand,i3ConfigNumber,i3ConfigShOper,i3ConfigCriteria,i3ConfigAction,i3ConfigActionKeyword,i3ConfigOption,i3ConfigVariable keepend extend
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
203 syn region i3ConfigExecAction start=/[a-z3-]\+msg ['"-]\@!/ skip=/\\$/ end=/[&|;})'"]\@=\|$/ contained contains=i3ConfigExecActionKeyword,i3ConfigShCommand,i3ConfigNumber,i3ConfigShOper,i3ConfigCriteria,i3ConfigAction,i3ConfigActionKeyword,i3ConfigOption,i3ConfigVariable keepend extend
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
204 " 6.1 Executing applications (4.20)
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
205 syn region i3ConfigAction start=/exec/ skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigExecKeyword,i3ConfigExecAction,i3ConfigShCommand,i3ConfigShDelim,i3ConfigShOper,i3ConfigShParam,i3ConfigNumber,i3ConfigString,i3ConfigVariable,i3ConfigSeparator keepend
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
206
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
207 " 6.3 Manipulating layout
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
208 syn keyword i3ConfigLayoutKeyword layout contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
209 syn keyword i3ConfigLayoutOpts default tabbed stacking splitv splith toggle split all contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
210 syn region i3ConfigAction start=/layout/ skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigLayoutKeyword,i3ConfigLayoutOpts,i3ConfigSeparator keepend transparent
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
211
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
212 " 6.4 Focusing containers
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
213 syn keyword i3ConfigFocusKeyword focus contained
33751
7f15cfe11f8d runtime(i3config): Update for i3 4.23 (#13522)
Christian Brabandt <cb@256bit.org>
parents: 33369
diff changeset
214 syn keyword i3ConfigFocusOpts left right up down workspace parent child next prev sibling floating tiling mode_toggle contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
215 syn keyword i3ConfigFocusOutputOpts left right down up current primary nonprimary next prev contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
216 syn region i3ConfigFocusOutput start=/ output / skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigWorkspaceOutput,i3ConfigFocusOutputOpts,i3ConfigString,i3ConfigNumber,i3ConfigSeparator keepend
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
217 syn match i3ConfigFocusOutputLine /^focus output .*$/ contains=i3ConfigFocusKeyword,i3ConfigFocusOutput
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
218 syn region i3ConfigAction start=/focus/ skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigFocusKeyword,i3ConfigFocusOpts,i3ConfigFocusOutput,i3ConfigString,i3ConfigSeparator keepend transparent
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
219
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
220 " 6.8 Focusing workspaces (4.21)
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
221 syn region i3ConfigAction start=/workspace / skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigWorkspaceKeyword,i3ConfigWorkspaceDir,i3ConfigNumber,i3ConfigString,i3ConfigGaps,i3ConfigWorkspaceOutput,i3ConfigVariable,i3ConfigBoolean,i3ConfigSeparator keepend transparent
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
222
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
223 " 6.8.2 Renaming workspaces
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
224 syn keyword i3ConfigRenameKeyword rename contained
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
225 syn region i3ConfigAction start=/rename workspace/ end=/[,;]\|$/ contained contains=i3ConfigRenameKeyword,i3ConfigMoveDir,i3ConfigMoveType,i3ConfigNumber,i3ConfigVariable,i3ConfigString keepend transparent
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
226
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
227 " 6.5,6.9-6.11 Moving containers
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
228 syn keyword i3ConfigMoveKeyword move contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
229 syn keyword i3ConfigMoveDir left right down up position absolute center to current contained
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
230 syn keyword i3ConfigMoveType window container workspace output mark mouse scratchpad contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
231 syn match i3ConfigUnit / px\| ppt/ contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
232 syn region i3ConfigAction start=/move/ skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigMoveKeyword,i3ConfigMoveDir,i3ConfigMoveType,i3ConfigWorkspaceDir,i3ConfigUnit,i3ConfigNumber,i3ConfigVariable,i3ConfigString,i3ConfigSeparator,i3ConfigShParam keepend transparent
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
233
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
234 " 6.12 Resizing containers/windows
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
235 syn keyword i3ConfigResizeKeyword resize contained
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
236 syn keyword i3ConfigResizeOpts grow shrink up down left right set width height or contained
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
237 syn region i3ConfigAction start=/resize/ skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigResizeKeyword,i3ConfigResizeOpts,i3ConfigNumber,i3ConfigUnit,i3ConfigSeparator keepend transparent
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
238
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
239 " 6.14 VIM-like marks
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
240 syn match i3ConfigMark /mark\( --\(add\|replace\)\( --toggle\)\?\)\?/ contained contains=i3ConfigShParam
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
241 syn region i3ConfigAction start=/\<mark/ skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigMark,i3ConfigNumber,i3ConfigString,i3ConfigSeparator keepend transparent
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
242
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
243 " 6.24 Changing gaps (4.35)
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
244 syn region i3ConfigAction start=/gaps/ skip=/\\$/ end=/[,;]\|$/ contained contains=i3ConfigGaps keepend transparent
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
245
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
246 " Commands useable in keybinds
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
247 syn keyword i3ConfigActionKeyword mode append_layout kill open fullscreen sticky split floating swap unmark show_marks title_window_icon title_format border restart reload exit scratchpad nop bar contained
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
248 syn keyword i3ConfigOption default enable disable toggle key restore current horizontal vertical auto none normal pixel show container with id con_id padding hidden_state hide dock invisible contained
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
249
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
250 " Define the highlighting.
29533
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29087
diff changeset
251 hi def link i3ConfigError Error
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
252 hi def link i3ConfigTodo Todo
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
253 hi def link i3ConfigKeyword Keyword
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
254 hi def link i3ConfigCommand Statement
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
255 hi def link i3ConfigParamLine i3ConfigString
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
256 hi def link i3ConfigOperator Operator
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
257 hi def link i3ConfigSeparator i3ConfigOperator
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
258 hi def link i3ConfigParen Delimiter
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
259 hi def link i3ConfigBoolean Boolean
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
260 hi def link i3ConfigString String
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
261 hi def link i3ConfigColor Constant
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
262 hi def link i3ConfigNumber Number
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
263 hi def link i3ConfigIncludeKeyword i3ConfigKeyword
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
264 hi def link i3ConfigComment Comment
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
265 hi def link i3ConfigFontKeyword i3ConfigKeyword
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
266 hi def link i3ConfigColonOperator i3ConfigOperator
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
267 hi def link i3ConfigFontNamespace i3ConfigOption
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
268 hi def link i3ConfigFontSize i3ConfigNumber
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
269 hi def link i3ConfigFont i3ConfigString
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
270 hi def link i3ConfigBindKeyword i3ConfigKeyword
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
271 hi def link i3ConfigBindArgument i3ConfigShParam
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
272 hi def link i3ConfigBindModifier i3ConfigOperator
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
273 hi def link i3ConfigBindModkey Special
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
274 hi def link i3ConfigBindCombo SpecialChar
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
275 hi def link i3ConfigSizeSpecial i3ConfigOperator
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
276 hi def link i3ConfigOrientationOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
277 hi def link i3ConfigWorkspaceLayoutOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
278 hi def link i3ConfigTitleAlignOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
279 hi def link i3ConfigBorderOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
280 hi def link i3ConfigEdgeOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
281 hi def link i3ConfigSmartBorderOpts i3ConfigOption
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
282 hi def link i3ConfigVariable Variable
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
283 hi def link i3ConfigSetKeyword i3ConfigKeyword
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
284 hi def link i3ConfigResourceKeyword i3ConfigKeyword
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
285 hi def link i3ConfigAssignKeyword i3ConfigKeyword
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
286 hi def link i3ConfigAssignSpecial i3ConfigOption
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
287 hi def link i3ConfigExecKeyword i3ConfigCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
288 hi def link i3ConfigExecAlwaysKeyword i3ConfigKeyword
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
289 hi def link i3ConfigShParam PreProc
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
290 hi def link i3ConfigShDelim Delimiter
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
291 hi def link i3ConfigShOper Operator
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
292 hi def link i3ConfigShCmdDelim i3ConfigShDelim
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
293 hi def link i3ConfigShCommand Normal
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
294 hi def link i3ConfigWorkspaceKeyword i3ConfigCommand
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
295 hi def link i3ConfigWorkspaceOutput i3ConfigMoveType
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
296 hi def link i3ConfigWorkspaceDir i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
297 hi def link i3ConfigDotOperator i3ConfigOperator
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
298 hi def link i3ConfigClientOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
299 hi def link i3ConfigIpcKeyword i3ConfigKeyword
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
300 hi def link i3ConfigMouseWarpingOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
301 hi def link i3ConfigPopupFullscreenOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
302 hi def link i3ConfigFocusWrappingOpts i3ConfigOption
33252
76d9597780ce syntax(i3config): improved i3config highlighting (#13054)
Christian Brabandt <cb@256bit.org>
parents: 29533
diff changeset
303 hi def link i3ConfigTimeUnit i3ConfigNumber
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
304 hi def link i3ConfigFocusOnActivationOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
305 hi def link i3ConfigShowMarks i3ConfigCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
306 hi def link i3ConfigTilingDragOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
307 hi def link i3ConfigGapsOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
308 hi def link i3ConfigGaps i3ConfigCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
309 hi def link i3ConfigSmartGapOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
310 hi def link i3ConfigBarModifier i3ConfigKeyword
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
311 hi def link i3ConfigBarOpts i3ConfigKeyword
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
312 hi def link i3ConfigBarOptVals i3ConfigOption
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
313 hi def link i3ConfigColorsKeyword i3ConfigKeyword
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
314 hi def link i3ConfigColorsOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
315 hi def link i3ConfigConditionProp i3ConfigShParam
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
316 hi def link i3ConfigConditionSpecial Constant
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
317 hi def link i3ConfigExecActionKeyword i3ConfigShCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
318 hi def link i3ConfigExecAction i3ConfigString
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
319 hi def link i3ConfigLayoutKeyword i3ConfigCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
320 hi def link i3ConfigLayoutOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
321 hi def link i3ConfigFocusKeyword i3ConfigCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
322 hi def link i3ConfigFocusOpts i3ConfigOption
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
323 hi def link i3ConfigFocusOutputOpts i3ConfigOption
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
324 hi def link i3ConfigRenameKeyword i3ConfigCommand
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
325 hi def link i3ConfigMoveKeyword i3ConfigCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
326 hi def link i3ConfigMoveDir i3ConfigOption
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
327 hi def link i3ConfigMoveType Constant
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
328 hi def link i3ConfigUnit i3ConfigNumber
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
329 hi def link i3ConfigResizeKeyword i3ConfigCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
330 hi def link i3ConfigResizeOpts i3ConfigOption
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
331 hi def link i3ConfigMark i3ConfigCommand
33254
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
332 hi def link i3ConfigActionKeyword i3ConfigCommand
d4a558720faf runtime(i3config): syntax structure cleanup (#13080)
Christian Brabandt <cb@256bit.org>
parents: 33252
diff changeset
333 hi def link i3ConfigOption Type
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
334
33369
cba0c0fab5c1 runtime(i3config): update i3config syntax (#13191)
Christian Brabandt <cb@256bit.org>
parents: 33254
diff changeset
335 let b:current_syntax = "i3config"