Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 1 | " Vim syntax file |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 2 | " Language: sway config file |
| 3 | " Original Author: Josef Litos (JosefLitos/i3config.vim) |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 4 | " Maintainer: James Eapen <james.eapen@vai.org> |
Josef Litoš | b1ffc52 | 2024-05-24 17:31:36 +0200 | [diff] [blame] | 5 | " Version: 1.2.4 |
CismonX | f10db25 | 2024-10-17 21:44:35 +0200 | [diff] [blame] | 6 | " Last Change: 2024 Oct 17 |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 7 | |
| 8 | " References: |
| 9 | " http://i3wm.org/docs/userguide.html#configuring |
| 10 | " https://github.com/swaywm/sway/blob/b69d637f7a34e239e48a4267ae94a5e7087b5834/sway/sway.5.scd |
| 11 | " http://vimdoc.sourceforge.net/htmldoc/syntax.html |
| 12 | " |
| 13 | " |
| 14 | " Quit when a syntax file was already loaded |
| 15 | if exists("b:current_syntax") |
| 16 | finish |
| 17 | endif |
| 18 | |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 19 | " before i3 load to give i3ConfigKeyword lower priority |
| 20 | syn cluster i3ConfigCommand contains=i3ConfigCommand,i3ConfigAction,i3ConfigActionKeyword,@i3ConfigValue,i3ConfigColor,i3ConfigKeyword |
| 21 | |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 22 | runtime! syntax/i3config.vim |
| 23 | |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 24 | " Sway extensions to i3 |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 25 | syn keyword i3ConfigActionKeyword opacity urgent shortcuts_inhibitor splitv splith splitt contained contained skipwhite nextgroup=i3ConfigOption |
| 26 | syn keyword i3ConfigOption set plus minus allow deny csd v h t contained contained skipwhite nextgroup=i3ConfigOption,@i3ConfigValue |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 27 | |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 28 | syn keyword i3ConfigConditionProp app_id pid shell contained |
| 29 | |
| 30 | syn keyword i3ConfigWorkspaceDir prev_on_output next_on_output contained |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 31 | |
CismonX | f10db25 | 2024-10-17 21:44:35 +0200 | [diff] [blame] | 32 | syn match i3ConfigBindArgument /--\(locked\|to-code\|no-repeat\|input-device=[^ '"]*\|no-warn\|inhibited\) / contained contains=i3ConfigShOper,@i3ConfigStrVar nextgroup=i3ConfigBindArgument,i3ConfigBindCombo |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 33 | syn region i3ConfigBindArgument start=/--input-device=['"]/ end=/\s/ contained contains=@i3ConfigIdent,i3ConfigShOper,i3ConfigString nextgroup=i3ConfigBindArgument,i3ConfigBindCombo |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 34 | |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 35 | syn region i3ConfigBindCombo matchgroup=i3ConfigParen start=/{$/ end=/^\s*}$/ contained contains=i3ConfigBindArgument,i3ConfigBindCombo,i3ConfigComment fold keepend extend |
| 36 | " hack for blocks with start outside parsing range |
Josef Litoš | b1ffc52 | 2024-05-24 17:31:36 +0200 | [diff] [blame] | 37 | syn region swayConfigBlockOrphan start=/^\s\+\(--[a-z-]\+ \)*\([$A-Z][$0-9A-Za-z_+]\+\|[a-z]\) [a-z[]/ skip=/\\$\|$\n^\s*}$/ end=/$/ contains=i3ConfigBindArgument,i3ConfigBindCombo,i3ConfigParen keepend extend |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 38 | |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 39 | syn region i3ConfigExec start=/ {$/ end=/^\s*}$/ contained contains=i3ConfigExecAction,@i3ConfigSh,i3ConfigComment fold keepend extend |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 40 | |
James Eapen | 22ac941 | 2024-05-23 20:47:49 +0200 | [diff] [blame] | 41 | syn keyword swayConfigFloatingModifierOpts normal inverse none contained |
Josef Litoš | b1ffc52 | 2024-05-24 17:31:36 +0200 | [diff] [blame] | 42 | syn match i3ConfigKeyword /floating_modifier \(none\|[$A-Z][0-9A-Za-z]\+ \(normal\|inverse\)\)$/ contained contains=i3ConfigVariable,i3ConfigBindModkey,swayConfigFloatingModifierOpts |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 43 | |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 44 | syn match swayConfigI3Param /--i3/ contains=i3ConfigShParam skipwhite nextgroup=i3ConfigEdgeOpts |
| 45 | syn keyword i3ConfigKeyword hide_edge_borders contained skipwhite nextgroup=swayConfigI3Param,i3ConfigEdgeOpts |
James Eapen | 46d67d2 | 2023-12-29 11:51:40 -0500 | [diff] [blame] | 46 | |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 47 | syn keyword i3ConfigBarOpts swaybar_command contained skipwhite nextgroup=@i3ConfigSh |
| 48 | syn region i3ConfigBarOpts matchgroup=i3ConfigBarOpts start=/gaps/ end=/$/ contained contains=@i3ConfigNumVar |
| 49 | syn keyword i3ConfigBarOpts height pango_markup status_edge_padding status_padding wrap_scroll tray_bindcode tray_bindsym icon_theme contained skipwhite nextgroup=i3ConfigBarOptVals,@i3ConfigValue,i3ConfigShOper |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 50 | syn keyword i3ConfigBarOptVals overlay contained |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 51 | |
| 52 | syn keyword i3ConfigExecActionKeyword swaymsg contained |
| 53 | |
| 54 | " Sway-only options |
| 55 | " Xwayland |
| 56 | syn keyword swayConfigXOpt enable disable force contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 57 | syn keyword i3ConfigKeyword xwayland contained skipwhite nextgroup=swayConfigXOpt |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 58 | |
| 59 | " Inhibit idle |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 60 | syn keyword swayConfigInhibitOpts focus fullscreen open none visible contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 61 | syn keyword i3ConfigActionKeyword inhibit_idle contained skipwhite nextgroup=swayConfigInhibitOpts |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 62 | |
| 63 | " Bindswitch |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 64 | syn match swayConfigBindswitchArgument /--\(locked\|no-warn\|reload\) / contained nextgroup=swayConfigBindswitchArgument,swayConfigBindswitchType |
| 65 | syn keyword swayConfigBindswitchType lid tablet contained nextgroup=swayConfigBindswitchCombo |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 66 | syn keyword swayConfigBindswitchState toggle contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 67 | syn match swayConfigBindswitchCombo /:\(on\|off\|toggle\) / contained contains=i3ConfigColonOperator,swayConfigBindswitchState,i3ConfigBoolean nextgroup=i3ConfigBind |
| 68 | syn region swayConfigBindswitchType matchgroup=i3ConfigParen start=/{$/ end=/^\s*}$/ contained contains=swayConfigBindswitchArgument,swayConfigBindswitchType,i3ConfigComment fold keepend extend |
| 69 | syn keyword i3ConfigBindKeyword bindswitch contained skipwhite nextgroup=swayConfigBindswitchArgument,swayConfigBindswitchType |
| 70 | " hack for blocks with start outside parsing range |
| 71 | syn region swayConfigBlockOrphan start=/^\s\+\(lid\|tablet\):/ skip=/\\$\|$\n^\s*}$/ end=/$/ contains=swayConfigBindswitchArgument,swayConfigBindswitchType,i3ConfigParen keepend extend |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 72 | |
| 73 | " Bindgesture |
Josef Litoš | b1ffc52 | 2024-05-24 17:31:36 +0200 | [diff] [blame] | 74 | syn match swayConfigBindgestureArgument /--\(exact\|input-device=[:0-9A-Za-z_/-]\+\|no-warn\) / contained nextgroup=swayConfigBindgestureArgument,swayConfigBindgestureCombo |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 75 | syn keyword swayConfigBindgestureType hold swipe pinch contained |
| 76 | syn keyword swayConfigBindgestureDir up down left right inward outward clockwise counterclockwise contained |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 77 | syn match swayConfigBindgestureCombo /\(hold\(:[1-5]\)\?\|swipe\(:[3-5]\)\?\(:up\|:down\|:left\|:right\)\?\|pinch\(:[2-5]\)\?:\(+\?\(inward\|outward\|clockwise\|counterclockwise\|up\|down\|left\|right\)\)\+\) / contained contains=i3ConfigNumber,swayConfigBindgestureType,i3ConfigColonOperator,swayConfigBindgestureDir,i3ConfigBindModifier nextgroup=swayConfigBindgestureCombo,i3ConfigBind |
| 78 | syn region swayConfigBindgestureCombo matchgroup=i3ConfigParen start=/{$/ end=/^\s*}$/ contained contains=swayConfigBindgestureArgument,swayConfigBindgestureCombo,i3ConfigComment fold keepend extend |
| 79 | syn keyword i3ConfigBindKeyword bindgesture contained skipwhite nextgroup=swayConfigBindgestureArgument,swayConfigBindgestureCombo |
| 80 | " hack for blocks with start outside parsing range |
| 81 | syn region swayConfigBlockOrphan start=/^\s\+\(--[a-z-]\+ \)*\(hold\|swipe\|pinch\):/ skip=/\\$\|$\n^\s*}$/ end=/$/ contains=swayConfigBindgestureArgument,swayConfigBindgestureCombo,i3ConfigParen keepend extend |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 82 | |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 83 | " Tiling drag threshold |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 84 | " Titlebar commands |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 85 | syn keyword i3ConfigKeyword tiling_drag_threshold titlebar_border_thickness contained skipwhite nextgroup=@i3ConfigNumVar |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 86 | syn match i3ConfigKeyword /titlebar_padding \(\d\+\|\$\S\+\)\( \d\+\)\?$/ contained contains=@i3ConfigNumVar |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 87 | |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 88 | syn match swayConfigDeviceOper /[*:;!]/ contained |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 89 | |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 90 | " Input devices |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 91 | syn keyword swayConfigInputOpts xkb_variant xkb_rules xkb_switch_layout xkb_numlock xkb_file xkb_capslock xkb_model repeat_delay repeat_rate map_to_output map_to_region map_from_region tool_mode accel_profile dwt dwtp drag_lock drag click_method middle_emulation tap events calibration_matrix natural_scroll left_handed pointer_accel scroll_button scroll_factor scroll_method tap_button_map contained skipwhite nextgroup=swayConfigInputOptVals,@i3ConfigValue |
| 92 | syn keyword swayConfigInputOptVals absolute relative adaptive flat none button_areas clickfinger toggle two_finger edge on_button_down lrm lmr next prev pen eraser brush pencil airbrush disabled_on_external_mouse disable enable contained skipwhite nextgroup=swayConfigInputOpts,@i3ConfigValue,swayConfigDeviceOper |
| 93 | syn match swayConfigDeviceOper /,/ contained nextgroup=swayConfigXkbOptsPair,swayConfigXkbLayout |
| 94 | syn match swayConfigXkbLayout /[a-z]\+/ contained nextgroup=swayConfigDeviceOper |
| 95 | syn keyword swayConfigInputOpts xkb_layout contained skipwhite nextgroup=swayConfigXkbLayout |
| 96 | syn match swayConfigXkbOptsPairVal /[0-9a-z_-]\+/ contained contains=i3ConfigNumber skipwhite nextgroup=swayConfigDeviceOper,swayConfigInputOpts |
| 97 | syn match swayConfigXkbOptsPair /[a-z]\+:/ contained contains=i3ConfigColonOperator nextgroup=swayConfigXkbOptsPairVal |
| 98 | syn keyword swayConfigInputOpts xkb_options contained skipwhite nextgroup=swayConfigXkbOptsPair |
| 99 | |
| 100 | syn region swayConfigInput start=/\s/ skip=/\\$/ end=/\ze[,;]\|$/ contained contains=swayConfigInputOpts,@i3ConfigValue keepend |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 101 | syn region swayConfigInput matchgroup=i3ConfigParen start=/ {$/ end=/^\s*}$/ contained contains=swayConfigInputOpts,@i3ConfigValue,i3ConfigComment keepend extend |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 102 | syn keyword swayConfigInputType touchpad pointer keyboard touch tablet_tool tablet_pad switch contained nextgroup=swayConfigInput |
| 103 | syn match swayConfigInputIdent /type:!\?/ contained contains=swayConfigDeviceOper nextgroup=swayConfigInputType |
| 104 | syn match swayConfigInputIdent /[^t '"]\S*/ contained contains=i3ConfigOutputIdent nextgroup=swayConfigInput |
| 105 | syn region swayConfigInputIdent start=/['"]/ end=/\ze/ contained contains=i3ConfigOutputIdent nextgroup=swayConfigInput |
| 106 | syn keyword i3ConfigKeyword input contained skipwhite nextgroup=swayConfigInputIdent |
Bram Moolenaar | b59ae59 | 2022-11-23 23:46:31 +0000 | [diff] [blame] | 107 | |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 108 | " Seat |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 109 | syn keyword swayConfigSeatOpts cursor fallback hide_cursor keyboard_grouping shortcuts_inhibitor pointer_constraint xcursor_theme contained skipwhite nextgroup=swayConfigSeatOptVals,@i3ConfigValue |
| 110 | syn match swayConfigInputTypeSeq / \w\+/ contained contains=swayConfigInputType nextgroup=swayConfigInputTypeSeq,swayConfigSeatOpts |
| 111 | syn keyword swayConfigSeatOpts idle_inhibit idle_wake contained nextgroup=swayConfigInputTypeSeq |
| 112 | syn keyword swayConfigSeatOpts attach contained skipwhite nextgroup=swayConfigSeatIdent |
| 113 | syn match swayConfigSeatOptVals /when-typing/ contained skipwhite nextgroup=swayConfigSeatOptVals |
| 114 | syn keyword swayConfigSeatOptVals move set press release none smart activate deactivate toggle escape enable disable contained skipwhite nextgroup=swayConfigSeatOpts |
| 115 | syn region swayConfigSeat start=/\s/ skip=/\\$/ end=/\ze[,;]\|$/ contained contains=swayConfigSeatOpts,@i3ConfigValue keepend |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 116 | syn region swayConfigSeat matchgroup=i3ConfigParen start=/ {$/ end=/^\s*}$/ contained contains=swayConfigSeatOpts,@i3ConfigValue,i3ConfigComment keepend extend |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 117 | syn match swayConfigSeatIdent /[^ ]\+/ contained contains=i3ConfigOutputIdent skipwhite nextgroup=swayConfigSeat |
| 118 | syn keyword i3ConfigKeyword seat contained skipwhite nextgroup=swayConfigSeatIdent |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 119 | |
| 120 | " Output monitors |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 121 | syn keyword swayConfigOutputOpts mode resolution res modeline position pos scale scale_filter subpixel transform disable enable power dpms max_render_time adaptive_sync render_bit_depth contained skipwhite nextgroup=swayConfigOutputOptVals,@i3ConfigValue,swayConfigOutputMode |
| 122 | syn keyword swayConfigOutputOptVals linear nearest smart rgb bgr vrgb vbgr none clockwise anticlockwise toggle contained skipwhite nextgroup=swayConfigOutputOptVals,@i3ConfigValue |
| 123 | syn keyword swayConfigOutputBgVals solid_color fill stretch fit center tile contained skipwhite nextgroup=@i3ConfigColVar |
| 124 | syn match swayConfigOutputBg /[#$]\S\+ solid_color/ contained contains=@i3ConfigColVar,swayConfigOutputBgVals |
| 125 | syn match swayConfigOutputBg /[^b# '"]\S*/ contained contains=i3ConfigShOper skipwhite nextgroup=swayConfigOutputBgVals |
| 126 | syn region swayConfigOutputBg start=/['"]/ end=/\ze/ contained contains=@i3ConfigIdent skipwhite nextgroup=swayConfigOutputBgVals |
| 127 | syn keyword swayConfigOutputOpts bg background contained skipwhite nextgroup=swayConfigOutputBg |
| 128 | syn match swayConfigOutputFPS /@[0-9.]\+Hz/ contained skipwhite nextgroup=swayConfigOutputOpts |
| 129 | syn match swayConfigOutputMode /\(--custom \)\?[0-9]\+x[0-9]\+/ contained contains=i3ConfigShParam skipwhite nextgroup=swayConfigOutputFPS,swayConfigOutputOpts |
| 130 | syn match swayConfigOutputOptVals /\(flipped-\)\?\(90\|180\|270\)\|flipped\|normal/ contained contains=i3ConfigNumber skipwhite nextgroup=swayConfigOutputOptsVals |
| 131 | syn region swayConfigOutput start=/\s/ skip=/\\$/ end=/\ze[,;]\|$/ contained contains=swayConfigOutputOpts,@i3ConfigValue keepend |
Josef Litoš | 679f5ab | 2024-05-13 22:03:42 +0200 | [diff] [blame] | 132 | syn region swayConfigOutput matchgroup=i3ConfigParen start=/ {$/ end=/^\s*}$/ contained contains=swayConfigOutputOpts,@i3ConfigValue,i3ConfigComment keepend extend |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 133 | syn match swayConfigOutputIdent /[^ ]\+/ contained contains=i3ConfigOutputIdent skipwhite nextgroup=swayConfigOutput |
| 134 | syn keyword i3ConfigKeyword output contained skipwhite nextgroup=swayConfigOutputIdent |
Bram Moolenaar | 10e8ff9 | 2023-06-10 21:40:39 +0100 | [diff] [blame] | 135 | |
Josef Litoš | 8b2457a | 2023-09-12 20:24:47 +0200 | [diff] [blame] | 136 | " Define the highlighting. |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 137 | hi def link swayConfigFloatingModifierOpts i3ConfigOption |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 138 | hi def link swayConfigXOpt i3ConfigOption |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 139 | hi def link swayConfigInhibitOpts i3ConfigOption |
| 140 | hi def link swayConfigBindswitchArgument i3ConfigBindArgument |
| 141 | hi def link swayConfigBindswitchType i3ConfigMoveType |
| 142 | hi def link swayConfigBindswitchState i3ConfigMoveDir |
| 143 | hi def link swayConfigBindgestureArgument i3ConfigBindArgument |
| 144 | hi def link swayConfigBindgestureType i3ConfigMoveType |
| 145 | hi def link swayConfigBindgestureDir i3ConfigMoveDir |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 146 | hi def link swayConfigDeviceOper i3ConfigOperator |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 147 | hi def link swayConfigInputType i3ConfigMoveType |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 148 | hi def link swayConfigInputIdent i3ConfigMoveDir |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 149 | hi def link swayConfigInputOptVals i3ConfigShParam |
| 150 | hi def link swayConfigInputOpts i3ConfigOption |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 151 | hi def link swayConfigXkbOptsPairVal i3ConfigParamLine |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 152 | hi def link swayConfigXkbOptsPair i3ConfigShParam |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 153 | hi def link swayConfigXkbLayout i3ConfigParamLine |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 154 | hi def link swayConfigSeatOptVals swayConfigInputOptVals |
| 155 | hi def link swayConfigSeatOpts swayConfigInputOpts |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 156 | hi def link swayConfigOutputOptVals swayConfigInputOptVals |
Josef Litoš | dd83b63 | 2024-04-15 19:38:04 +0200 | [diff] [blame] | 157 | hi def link swayConfigOutputBgVals swayConfigInputOptVals |
Josef Litoš | 54f70cf | 2023-09-27 18:58:15 +0200 | [diff] [blame] | 158 | hi def link swayConfigOutputOpts swayConfigInputOpts |
| 159 | hi def link swayConfigOutputFPS Constant |
| 160 | hi def link swayConfigOutputMode i3ConfigNumber |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 161 | |
| 162 | let b:current_syntax = "swayconfig" |