Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 1 | " Vim syntax file |
| 2 | " Language: i3 config file |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 3 | " Original Author: Josef Litos (JosefLitos/i3config.vim) |
Bram Moolenaar | 2f0936c | 2022-01-08 21:51:59 +0000 | [diff] [blame] | 4 | " Maintainer: Quentin Hibon (github user hiqua) |
Josef Litoš | b1ffc52 | 2024-05-24 17:31:36 +0200 | [diff] [blame] | 5 | " Version: 1.2.4 |
| 6 | " Last Change: 2024-05-24 |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 7 | |
| 8 | " References: |
| 9 | " http://i3wm.org/docs/userguide.html#configuring |
| 10 | " http://vimdoc.sourceforge.net/htmldoc/syntax.html |
| 11 | " |
| 12 | " |
| 13 | " Quit when a syntax file was already loaded |
| 14 | if exists("b:current_syntax") |
| 15 | finish |
| 16 | endif |
| 17 | |
| 18 | scriptencoding utf-8 |
| 19 | |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 20 | " Error |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 21 | syn match i3ConfigError /.\+/ |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 22 | |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 23 | " Todo |
| 24 | syn keyword i3ConfigTodo TODO FIXME XXX contained |
| 25 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 26 | " Helper type definitions |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 27 | syn match i3ConfigSeparator /[,;\\]/ contained |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 28 | syn match i3ConfigParen /[{}]/ contained |
| 29 | syn keyword i3ConfigBoolean yes no enabled disabled on off true false contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 30 | " String in simpler (matchable end) and more robust (includes `extend` keyword) forms |
| 31 | syn cluster i3ConfigStrIn contains=i3ConfigShCommand,i3ConfigShDelim,i3ConfigShOper,i3ConfigShParam,@i3ConfigNumVar,i3ConfigExecAction |
| 32 | syn match i3ConfigString /\(["']\)[^\\"')\]}]*\1/ contained contains=@i3ConfigStrIn |
| 33 | syn region i3ConfigString start=/"[^\\"')\]}]*[\\')\]}]/ skip=/\\\@<=\("\|$\)/ end=/"\|$/ contained contains=@i3ConfigStrIn keepend extend |
| 34 | syn region i3ConfigString start=/'[^\\"')\]}]*[\\")\]}]/ skip=/\\\@<=$/ end=/'\|$/ contained contains=@i3ConfigStrIn keepend extend |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 35 | syn match i3ConfigColor /#[0-9A-Fa-f]\{3,8}/ contained |
| 36 | syn match i3ConfigNumber /[0-9A-Za-z_$-]\@<!-\?\d\+\w\@!/ contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 37 | " Grouping of common usages |
| 38 | syn cluster i3ConfigStrVar contains=i3ConfigString,i3ConfigVariable |
| 39 | syn cluster i3ConfigNumVar contains=i3ConfigNumber,i3ConfigVariable |
| 40 | syn cluster i3ConfigColVar contains=i3ConfigColor,i3ConfigVariable |
| 41 | syn cluster i3ConfigIdent contains=i3ConfigString,i3ConfigNumber,i3ConfigVariable |
| 42 | syn cluster i3ConfigValue contains=@i3ConfigIdent,i3ConfigBoolean |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 43 | |
| 44 | " 4.1 Include directive |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 45 | syn match i3ConfigIncludeCommand /`[^`]*`/ contained contains=@i3ConfigSh |
| 46 | syn region i3ConfigParamLine matchgroup=i3ConfigKeyword start=/include / end=/$/ contained contains=@i3ConfigStrVar,i3ConfigIncludeCommand,i3ConfigShOper keepend |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 47 | |
| 48 | " 4.2 Comments |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 49 | syn match i3ConfigComment /#.*$/ contained contains=i3ConfigTodo |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 50 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 51 | " 4.3 Fonts |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 52 | syn match i3ConfigFontSize / \d\+\(px\)\?$/ contained |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 53 | syn match i3ConfigColonOperator /:/ contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 54 | syn match i3ConfigFontNamespace /pango:/ contained contains=i3ConfigColonOperator |
| 55 | syn region i3ConfigParamLine matchgroup=i3ConfigKeyword start=/font / skip=/\\$/ end=/$/ contained contains=i3ConfigFontNamespace,i3ConfigFontSize,i3ConfigSeparator keepend containedin=i3ConfigBarBlock |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 56 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 57 | " 4.4-4.5 Keyboard/Mouse bindings |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 58 | syn match i3ConfigBindArgument /--\(release\|border\|whole-window\|exclude-titlebar\) / contained nextgroup=i3ConfigBindArgument,i3ConfigBindCombo |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 59 | syn match i3ConfigBindModifier /+/ contained |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 60 | syn keyword i3ConfigBindModkey Ctrl Shift Mod1 Mod2 Mod3 Mod4 Mod5 contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 61 | syn match i3ConfigBindCombo /[$0-9A-Za-z_+]\+/ contained contains=i3ConfigBindModifier,i3ConfigVariable,i3ConfigBindModkey nextgroup=i3ConfigBind |
| 62 | syn cluster i3ConfigBinder contains=i3ConfigCriteria,@i3ConfigCommand,i3ConfigSeparator |
| 63 | syn region i3ConfigBind start=/\zs/ skip=/\\$/ end=/$/ contained contains=@i3ConfigBinder keepend |
| 64 | syn keyword i3ConfigBindKeyword bindsym bindcode contained skipwhite nextgroup=i3ConfigBindArgument,i3ConfigBindCombo |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 65 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 66 | " 4.6 Binding modes |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 67 | syn region i3ConfigModeBlock matchgroup=i3ConfigKeyword start=/mode\ze\( --pango_markup\)\? \([^'" {]\+\|'[^']\+'\|".\+"\)\s\+{$/ end=/^}\zs$/ contained contains=i3ConfigShParam,@i3ConfigStrVar,i3ConfigBindKeyword,i3ConfigComment,i3ConfigParen fold keepend extend |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 68 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 69 | " 4.7 Floating modifier |
Josef Litoš | b1ffc52 | 2024-05-24 17:31:36 +0200 | [diff] [blame] | 70 | syn match i3ConfigKeyword /floating_modifier [$A-Z][0-9A-Za-z]*$/ contained contains=i3ConfigVariable,i3ConfigBindModkey |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 71 | |
| 72 | " 4.8 Floating window size |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 73 | syn keyword i3ConfigSizeSpecial x contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 74 | syn match i3ConfigSize /-\?\d\+ x -\?\d\+/ contained contains=i3ConfigSizeSpecial,i3ConfigNumber |
| 75 | syn keyword i3ConfigKeyword floating_maximum_size floating_minimum_size contained skipwhite nextgroup=i3ConfigSize |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 76 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 77 | " 4.9 Orientation |
| 78 | syn keyword i3ConfigOrientationOpts vertical horizontal auto contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 79 | syn keyword i3ConfigKeyword default_orientation contained skipwhite nextgroup=i3ConfigOrientationOpts |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 80 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 81 | " 4.10 Layout mode |
| 82 | syn keyword i3ConfigWorkspaceLayoutOpts default stacking tabbed contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 83 | syn keyword i3ConfigKeyword workspace_layout contained skipwhite nextgroup=i3ConfigWorkspaceLayoutOpts |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 84 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 85 | " 4.11 Title alignment |
| 86 | syn keyword i3ConfigTitleAlignOpts left center right contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 87 | syn keyword i3ConfigKeyword title_align contained skipwhite nextgroup=i3ConfigTitleAlignOpts |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 88 | |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 89 | " 4.12 Border size |
| 90 | syn keyword i3ConfigBorderOpts none normal pixel contained skipwhite nextgroup=@i3ConfigNumVar |
| 91 | syn keyword i3ConfigKeyword default_floating_border default_border contained skipwhite nextgroup=i3ConfigBorderOpts |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 92 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 93 | " 4.13 Hide edge borders |
| 94 | syn keyword i3ConfigEdgeOpts none vertical horizontal both smart smart_no_gaps contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 95 | syn keyword i3ConfigKeyword hide_edge_borders contained skipwhite nextgroup=i3ConfigEdgeOpts |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 96 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 97 | " 4.14 Smart Borders |
| 98 | syn keyword i3ConfigSmartBorderOpts no_gaps contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 99 | syn keyword i3ConfigKeyword smart_borders contained skipwhite nextgroup=i3ConfigSmartBorderOpts,i3ConfigBoolean |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 100 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 101 | " 4.15 Arbitrary commands |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 102 | syn keyword i3ConfigKeyword for_window contained skipwhite nextgroup=i3ConfigCriteria |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 103 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 104 | " 4.16 No opening focus |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 105 | syn keyword i3ConfigKeyword no_focus contained skipwhite nextgroup=i3ConfigCondition |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 106 | |
| 107 | " 4.17 Variables |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 108 | syn match i3ConfigVariable /\$[0-9A-Za-z_:|[\]-]\+/ |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 109 | syn region i3ConfigSet start=/\$/ skip=/\\$/ end=/$/ contained contains=@i3ConfigSh,@i3ConfigValue,i3ConfigColor,i3ConfigBindModkey keepend |
| 110 | syn keyword i3ConfigKeyword set contained skipwhite nextgroup=i3ConfigSet |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 111 | |
| 112 | " 4.18 X resources |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 113 | syn region i3ConfigParamLine matchgroup=i3ConfigKeyword start=/set_from_resource\ze \$/ end=/$/ contained contains=@i3ConfigColVar,i3ConfigDotOperator |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 114 | |
| 115 | " 4.19 Assign clients to workspaces |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 116 | syn match i3ConfigAssignSpecial /→\|number/ contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 117 | syn region i3ConfigKeyword start=/assign / end=/$/ contained contains=i3ConfigAssignSpecial,i3ConfigCondition,@i3ConfigIdent keepend |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 118 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 119 | " 4.20 Executing shell commands |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 120 | syn region i3ConfigShCommand matchgroup=i3ConfigShDelim start=/\$(/ end=/)/ contained contains=i3ConfigExecAction,i3ConfigShCommand,i3ConfigShDelim,i3ConfigShOper,i3ConfigShParam,i3ConfigString,i3ConfigNumber,i3ConfigVariable extend |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 121 | syn match i3ConfigShDelim /[[\]{}();`]\+/ contained |
| 122 | syn match i3ConfigShOper /[<>&|+=~^*!.?]\+/ contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 123 | syn match i3ConfigShParam /\<-[A-Za-z-][0-9A-Za-z_-]*\>/ contained |
| 124 | syn cluster i3ConfigSh contains=@i3ConfigIdent,i3ConfigShOper,i3ConfigShDelim,i3ConfigShParam,i3ConfigShCommand |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 125 | syn region i3ConfigExec start=/ \ze[^{]/ skip=/\\$/ end=/$/ contained contains=i3ConfigExecAction,@i3ConfigSh keepend |
| 126 | syn keyword i3ConfigKeyword exec_always exec contained nextgroup=i3ConfigExec |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 127 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 128 | " 4.21 Workspaces per output |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 129 | syn match i3ConfigOutputIdent /[^'",; ]\+/ contained contains=@i3ConfigIdent,i3ConfigColonOperator skipwhite nextgroup=i3ConfigOutputIdent |
| 130 | syn region i3ConfigOutputIdent start=/['"]/ end=/\ze/ contained contains=@i3ConfigIdent skipwhite nextgroup=i3ConfigOutputIdent |
| 131 | syn keyword i3ConfigOutput output contained skipwhite nextgroup=i3ConfigOutputIdent |
| 132 | syn match i3ConfigWorkspaceIdent /[^'",; ]\+/ contained contains=@i3ConfigIdent skipwhite nextgroup=i3ConfigGaps,i3ConfigOutput |
| 133 | syn region i3ConfigWorkspaceIdent start=/['"]/ end=/\ze/ contained contains=@i3ConfigIdent skipwhite nextgroup=i3ConfigGaps,i3ConfigOutput |
| 134 | syn keyword i3ConfigKeyword workspace contained skipwhite nextgroup=i3ConfigWorkspaceIdent |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 135 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 136 | " 4.22 Changing colors |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 137 | syn keyword i3ConfigClientOpts focused focused_inactive focused_tab_title unfocused urgent placeholder background contained skipwhite nextgroup=i3ConfigColorSeq |
| 138 | syn match i3ConfigDotOperator /\./ contained nextgroup=i3ConfigClientOpts |
| 139 | syn keyword i3ConfigKeyword client contained nextgroup=i3ConfigDotOperator |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 140 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 141 | " 4.23 Interprocess communication |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 142 | syn region i3ConfigParamLine matchgroup=i3ConfigKeyword start=/ipc-socket / end=/$/ contained contains=i3ConfigNumber,i3ConfigShOper |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 143 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 144 | " 4.24 Focus follows mouse |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 145 | syn keyword i3ConfigFocusFollowsMouseOpts always contained |
| 146 | syn keyword i3ConfigKeyword focus_follows_mouse contained skipwhite nextgroup=i3ConfigBoolean,i3ConfigFocusFollowsMouseOpts |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 147 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 148 | " 4.25 Mouse warping |
| 149 | syn keyword i3ConfigMouseWarpingOpts output container none contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 150 | syn keyword i3ConfigKeyword mouse_warping contained skipwhite nextgroup=i3ConfigMouseWarpingOpts |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 151 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 152 | " 4.26 Popups while fullscreen |
| 153 | syn keyword i3ConfigPopupFullscreenOpts smart ignore leave_fullscreen contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 154 | syn keyword i3ConfigKeyword popup_during_fullscreen contained skipwhite nextgroup=i3ConfigPopupFullscreenOpts |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 155 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 156 | " 4.27 Focus wrapping |
| 157 | syn keyword i3ConfigFocusWrappingOpts force workspace contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 158 | syn keyword i3ConfigKeyword focus_wrapping contained skipwhite nextgroup=i3ConfigBoolean,i3ConfigFocusWrappingOpts |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 159 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 160 | " 4.28 Forcing Xinerama |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 161 | " 4.29 Automatic workspace back-and-forth |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 162 | " 4.32 Show marks in title |
| 163 | syn keyword i3ConfigKeyword force_xinerama workspace_auto_back_and_forth show_marks contained skipwhite nextgroup=i3ConfigBoolean |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 164 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 165 | " 4.30 Delay urgency hint |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 166 | syn match i3ConfigTimeUnit / \d\+\( ms\)\?$/ contained contains=i3ConfigNumber |
| 167 | syn keyword i3ConfigKeyword force_display_urgency_hint contained nextgroup=i3ConfigTimeUnit |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 168 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 169 | " 4.31 Focus on window activation |
| 170 | syn keyword i3ConfigFocusOnActivationOpts smart urgent focus none contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 171 | syn keyword i3ConfigKeyword focus_on_window_activation contained skipwhite nextgroup=i3ConfigFocusOnActivationOpts |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 172 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 173 | " 4.34 Tiling drag |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 174 | syn keyword i3ConfigTilingDragOpts modifier titlebar contained skipwhite nextgroup=i3ConfigTilingDragOpts |
| 175 | syn keyword i3ConfigKeyword tiling_drag contained skipwhite nextgroup=i3ConfigTilingDragOpts,i3ConfigBoolean |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 176 | |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 177 | " 4.35 Gaps (+6.24) |
| 178 | syn keyword i3ConfigGapsWhich inner outer horizontal vertical left right top bottom contained skipwhite nextgroup=i3ConfigGapsWhere,@i3ConfigNumVar |
| 179 | syn keyword i3ConfigGapsWhere current all contained skipwhite nextgroup=i3ConfigGapsOper |
| 180 | syn keyword i3ConfigGapsOper set plus minus toggle contained skipwhite nextgroup=@i3ConfigNumVar |
| 181 | syn match i3ConfigGaps /gaps/ contained contains=i3ConfigCommand skipwhite nextgroup=i3ConfigGapsWhich |
| 182 | syn keyword i3ConfigCommand gaps contained skipwhite nextgroup=i3ConfigGapsWhich |
| 183 | |
| 184 | syn keyword i3ConfigSmartGapOpts inverse_outer toggle contained |
| 185 | syn keyword i3ConfigKeyword smart_gaps contained skipwhite nextgroup=i3ConfigSmartGapOpts,i3ConfigBoolean |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 186 | |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 187 | " 5 Configuring bar |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 188 | syn keyword i3ConfigBarOpts modifier contained skipwhite nextgroup=i3ConfigBindCombo,i3ConfigBarOptVals |
| 189 | syn keyword i3ConfigBarOpts i3bar_command status_command workspace_command contained skipwhite nextgroup=@i3ConfigSh |
| 190 | syn keyword i3ConfigBarOpts 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 skipwhite nextgroup=i3ConfigBarOptVals,@i3ConfigValue,i3ConfigShOper |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 191 | syn keyword i3ConfigBarOptVals dock hide invisible show none top bottom primary nonprimary contained |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 192 | syn region i3ConfigBarBlock matchgroup=i3ConfigKeyword start=/bar\ze {$/ end=/^\s*}\zs$/ contained contains=i3ConfigBarOpts,i3ConfigComment,i3ConfigParen,i3ConfigBindKeyword,i3ConfigColorsBlock fold keepend extend |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 193 | |
| 194 | " 5.16 Color block |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 195 | syn match i3ConfigColorSeq /#[0-9A-Fa-f]\{3,8}\|\$[0-9A-Za-z_:|[\]-]\+/ contained contains=@i3ConfigColVar skipwhite nextgroup=i3ConfigColorSeq |
| 196 | syn keyword i3ConfigColorsOpts background statusline separator contained skipwhite nextgroup=@i3ConfigColVar |
| 197 | syn match i3ConfigColorsOpts /focused_\(background\|statusline\|separator\)\|\(focused\|active\|inactive\|urgent\)_workspace\|binding_mode/ contained skipwhite nextgroup=i3ConfigColorSeq |
| 198 | syn region i3ConfigColorsBlock matchgroup=i3ConfigKeyword start=/^\s\+colors \ze{$/ end=/^\s\+}\zs$/ contained contains=i3ConfigColorsOpts,i3ConfigComment,i3ConfigParen fold keepend extend |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 199 | |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 200 | " 6.0 Command criteria |
| 201 | syn keyword i3ConfigConditionProp class instance window_role window_type machine id title urgent workspace con_mark con_id floating_from tiling_from contained |
| 202 | syn keyword i3ConfigConditionSpecial __focused__ all floating tiling contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 203 | syn region i3ConfigCondition matchgroup=i3ConfigShDelim start=/\[/ end=/\]/ contained contains=i3ConfigConditionProp,i3ConfigShOper,i3ConfigConditionSpecial,@i3ConfigIdent keepend extend |
| 204 | syn region i3ConfigCriteria start=/\[/ skip=/\\$/ end=/\(;\|$\)/ contained contains=i3ConfigCondition,@i3ConfigCommand,i3ConfigSeparator keepend transparent |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 205 | |
| 206 | " 6.1 Actions through shell |
| 207 | syn match i3ConfigExecActionKeyword /i3-msg/ contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 208 | syn cluster i3ConfigExecActionVal contains=i3ConfigExecActionKeyword,i3ConfigCriteria,i3ConfigAction,i3ConfigActionKeyword,i3ConfigOption,@i3ConfigNumVar |
| 209 | syn region i3ConfigExecAction start=/[a-z3-]\+msg "/ skip=/ "\|\\$/ end=/"\|$/ contained contains=i3ConfigExecActionKeyword,@i3ConfigExecActionVal keepend extend |
| 210 | syn region i3ConfigExecAction start=/[a-z3-]\+msg '/ skip=/ '\|\\$/ end=/'\|$/ contained contains=i3ConfigExecActionKeyword,@i3ConfigExecActionVal keepend extend |
| 211 | syn region i3ConfigExecAction start=/[a-z3-]\+msg ['"-]\@!/ skip=/\\$/ end=/[&|;})'"]\@=\|$/ contained contains=i3ConfigExecActionKeyword,@i3ConfigExecActionVal keepend extend |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 212 | " 6.1 Executing applications (4.20) |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 213 | syn region i3ConfigAction matchgroup=i3ConfigCommand start=/exec / skip=/\\$/ end=/\ze[,;]\|$/ contained contains=i3ConfigExecAction,@i3ConfigSh keepend |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 214 | |
| 215 | " 6.3 Manipulating layout |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 216 | syn keyword i3ConfigLayoutOpts default tabbed stacking splitv splith toggle split all contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 217 | syn region i3ConfigAction matchgroup=i3ConfigCommand start=/layout / skip=/\\$/ end=/\ze[,;]\|$/ contained contains=i3ConfigLayoutOpts keepend transparent |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 218 | |
| 219 | " 6.4 Focusing containers |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 220 | syn keyword i3ConfigFocusOpts left right up down parent child next prev sibling floating tiling mode_toggle contained |
| 221 | syn keyword i3ConfigOutputDir left right down up current primary nonprimary next prev contained skipwhite |
| 222 | syn keyword i3ConfigFocusOutput output contained skipwhite nextgroup=i3ConfigOutputIdent,i3ConfigOutputDir |
| 223 | syn keyword i3ConfigActionKeyword focus contained skipwhite nextgroup=i3ConfigFocusOpts,i3ConfigFocusOutput |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 224 | syn keyword i3ConfigKeyword focus skipwhite contained nextgroup=i3ConfigFocusOutput |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 225 | |
| 226 | " 6.8 Focusing workspaces (4.21) |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 227 | syn keyword i3ConfigWorkspaceDir prev next back_and_forth contained |
| 228 | syn keyword i3ConfigWorkspaceDir number contained skipwhite nextgroup=i3ConfigWorkspaceIdent |
| 229 | syn keyword i3ConfigActionKeyword workspace contained skipwhite nextgroup=i3ConfigWorkspaceDir,i3ConfigWorkspaceIdent |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 230 | |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 231 | " 6.8.2 Renaming workspaces |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 232 | syn region i3ConfigWorkspaceFromTo start=/workspace\( .*\)\? to/ end=/\ze[,;]\|$/ contained contains=i3ConfigMoveType,@i3ConfigWorkspaceIdent keepend transparent |
| 233 | syn keyword i3ConfigActionKeyword rename contained skipwhite nextgroup=i3ConfigWorkspaceFromTo |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 234 | |
| 235 | " 6.5,6.9-6.11 Moving containers |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 236 | syn match i3ConfigUnit /-\?\d\+\( px\| ppt\)\?/ contained contains=i3ConfigNumber skipwhite nextgroup=i3ConfigUnit,i3ConfigResizeExtra |
| 237 | syn keyword i3ConfigMoveDir left right down up position contained skipwhite nextgroup=i3ConfigUnit |
| 238 | syn match i3ConfigMoveDir /position \(mouse\|center\)/ contained |
| 239 | syn keyword i3ConfigMoveDir absolute contained skipwhite nextgroup=i3ConfigMoveDir |
| 240 | syn keyword i3ConfigMoveDir absolute contained |
| 241 | |
| 242 | syn keyword i3ConfigMoveType mark contained skipwhite nextgroup=i3ConfigOutputIdent |
| 243 | syn keyword i3ConfigMoveType scratchpad contained |
| 244 | syn keyword i3ConfigMoveType output contained skipwhite nextgroup=i3ConfigOutputIdent,i3ConfigOutputDir |
| 245 | syn keyword i3ConfigMoveType workspace contained skipwhite nextgroup=i3ConfigMoveType,i3ConfigWorkspaceIdent,i3ConfigWorkspaceDir |
| 246 | syn keyword i3ConfigMoveType window container contained skipwhite nextgroup=i3ConfigMoveType |
| 247 | syn keyword i3ConfigMoveTo to contained |
| 248 | syn match i3ConfigMoveType /to/ contained contains=i3ConfigMoveTo skipwhite nextgroup=i3ConfigMoveType |
| 249 | syn match i3ConfigActionKeyword /move\( --no-auto-back-and-forth\)\?/ contained contains=i3ConfigShParam skipwhite nextgroup=i3ConfigMoveType,i3ConfigMoveDir |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 250 | |
| 251 | " 6.12 Resizing containers/windows |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 252 | syn keyword i3ConfigResizeExtra or height contained skipwhite nextgroup=i3ConfigUnit |
| 253 | syn keyword i3ConfigResizeDir up down left right width height contained skipwhite nextgroup=i3ConfigUnit |
| 254 | syn keyword i3ConfigResizeType grow shrink contained skipwhite nextgroup=i3ConfigResizeDir |
| 255 | syn keyword i3ConfigResizeType set contained skipwhite nextgroup=i3ConfigResizeDir,i3ConfigUnit |
| 256 | syn keyword i3ConfigActionKeyword resize contained skipwhite nextgroup=i3ConfigResizeType |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 257 | |
| 258 | " 6.14 VIM-like marks |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 259 | syn match i3ConfigMarkOpt /--\(add\|replace\)\( --toggle\)\?/ contained contains=i3ConfigShParam skipwhite nextgroup=i3ConfigOutputIdent |
| 260 | syn keyword i3ConfigActionKeyword mark contained skipwhite nextgroup=i3ConfigMarkOpt,i3ConfigOutputIdent |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 261 | |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 262 | " Commands usable for direct config calls - for enforcing start of line for Commands |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 263 | syn match i3ConfigTopLevelDirective /^\s*/ nextgroup=i3ConfigComment,i3ConfigKeyword,i3ConfigCommand,i3ConfigBindKeyword,i3ConfigParamLine,i3ConfigModeBlock,i3ConfigBarBlock,i3ConfigError |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 264 | |
| 265 | " Commands useable in keybinds |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 266 | syn keyword i3ConfigActionKeyword mode append_layout kill open fullscreen sticky split floating swap unmark title_window_icon title_format border restart reload exit scratchpad nop bar contained skipwhite nextgroup=i3ConfigOption,@i3ConfigValue |
| 267 | 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 skipwhite nextgroup=i3ConfigOption,@i3ConfigValue |
| 268 | " Commands usable at runtime (outside loading config) |
| 269 | syn cluster i3ConfigCommand contains=i3ConfigCommand,i3ConfigAction,i3ConfigActionKeyword,@i3ConfigValue,i3ConfigColor |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 270 | |
| 271 | " Define the highlighting. |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 272 | hi def link i3ConfigError Error |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 273 | hi def link i3ConfigTodo Todo |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 274 | hi def link i3ConfigKeyword Keyword |
| 275 | hi def link i3ConfigCommand Statement |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 276 | hi def link i3ConfigParamLine i3ConfigString |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 277 | hi def link i3ConfigOperator Operator |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 278 | hi def link i3ConfigSeparator i3ConfigOperator |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 279 | hi def link i3ConfigParen Delimiter |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 280 | hi def link i3ConfigBoolean Boolean |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 281 | hi def link i3ConfigString String |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 282 | hi def link i3ConfigColor Constant |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 283 | hi def link i3ConfigNumber Number |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 284 | hi def link i3ConfigComment Comment |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 285 | hi def link i3ConfigColonOperator i3ConfigOperator |
| 286 | hi def link i3ConfigFontNamespace i3ConfigOption |
| 287 | hi def link i3ConfigFontSize i3ConfigNumber |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 288 | hi def link i3ConfigBindArgument i3ConfigShParam |
| 289 | hi def link i3ConfigBindModifier i3ConfigOperator |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 290 | hi def link i3ConfigBindModkey Special |
| 291 | hi def link i3ConfigBindCombo SpecialChar |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 292 | hi def link i3ConfigBindKeyword i3ConfigKeyword |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 293 | hi def link i3ConfigSizeSpecial i3ConfigOperator |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 294 | hi def link i3ConfigOrientationOpts i3ConfigOption |
| 295 | hi def link i3ConfigWorkspaceLayoutOpts i3ConfigOption |
| 296 | hi def link i3ConfigTitleAlignOpts i3ConfigOption |
| 297 | hi def link i3ConfigBorderOpts i3ConfigOption |
| 298 | hi def link i3ConfigEdgeOpts i3ConfigOption |
| 299 | hi def link i3ConfigSmartBorderOpts i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 300 | hi def link i3ConfigVariable Variable |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 301 | hi def link i3ConfigAssignSpecial i3ConfigOption |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 302 | hi def link i3ConfigShParam PreProc |
| 303 | hi def link i3ConfigShDelim Delimiter |
| 304 | hi def link i3ConfigShOper Operator |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 305 | hi def link i3ConfigShCommand Normal |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 306 | hi def link i3ConfigOutputIdent i3ConfigParamLine |
| 307 | hi def link i3ConfigOutput i3ConfigMoveType |
| 308 | hi def link i3ConfigWorkspaceIdent i3ConfigParamLine |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 309 | hi def link i3ConfigDotOperator i3ConfigOperator |
| 310 | hi def link i3ConfigClientOpts i3ConfigOption |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 311 | hi def link i3ConfigFocusFollowsMouseOpts i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 312 | hi def link i3ConfigMouseWarpingOpts i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 313 | hi def link i3ConfigPopupFullscreenOpts i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 314 | hi def link i3ConfigFocusWrappingOpts i3ConfigOption |
Josef Litoš | 62145db | 2023-09-11 20:12:48 +0200 | [diff] [blame] | 315 | hi def link i3ConfigTimeUnit i3ConfigNumber |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 316 | hi def link i3ConfigFocusOnActivationOpts i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 317 | hi def link i3ConfigTilingDragOpts i3ConfigOption |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 318 | hi def link i3ConfigGapsWhich i3ConfigOption |
| 319 | hi def link i3ConfigGapsWhere i3ConfigOption |
| 320 | hi def link i3ConfigGapsOper i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 321 | hi def link i3ConfigSmartGapOpts i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 322 | hi def link i3ConfigBarModifier i3ConfigKeyword |
| 323 | hi def link i3ConfigBarOpts i3ConfigKeyword |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 324 | hi def link i3ConfigBarOptVals i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 325 | hi def link i3ConfigColorsOpts i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 326 | hi def link i3ConfigConditionProp i3ConfigShParam |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 327 | hi def link i3ConfigConditionSpecial Constant |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 328 | hi def link i3ConfigExecActionKeyword i3ConfigShCommand |
| 329 | hi def link i3ConfigExecAction i3ConfigString |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 330 | hi def link i3ConfigLayoutOpts i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 331 | hi def link i3ConfigFocusOpts i3ConfigOption |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 332 | hi def link i3ConfigOutputDir i3ConfigOption |
| 333 | hi def link i3ConfigFocusOutput i3ConfigOutput |
| 334 | hi def link i3ConfigWorkspaceDir i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 335 | hi def link i3ConfigMoveDir i3ConfigOption |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 336 | hi def link i3ConfigMoveType Constant |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 337 | hi def link i3ConfigMoveTo i3ConfigOption |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 338 | hi def link i3ConfigUnit i3ConfigNumber |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 339 | hi def link i3ConfigResizeExtra i3ConfigOption |
| 340 | hi def link i3ConfigResizeDir i3ConfigOption |
| 341 | hi def link i3ConfigResizeType i3ConfigOption |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 342 | hi def link i3ConfigMark i3ConfigCommand |
Josef Litoš | f5356bf | 2023-09-12 20:20:25 +0200 | [diff] [blame] | 343 | hi def link i3ConfigActionKeyword i3ConfigCommand |
| 344 | hi def link i3ConfigOption Type |
Bram Moolenaar | 0e6adf8 | 2021-12-16 14:41:10 +0000 | [diff] [blame] | 345 | |
Josef Litoš | 02774f9 | 2023-09-27 18:57:24 +0200 | [diff] [blame] | 346 | let b:current_syntax = "i3config" |