runtime(swayconfig): add additional criteria and hdr
Commit:
https://github.com/vim/vim/commit/ff6f277a4dbbc1fec75c9a9d29fb85ba55127618
Author: Felix Pehla <[email protected]>
Date: Fri Apr 3 08:43:53 2026 +0000
runtime(swayconfig): add additional criteria and hdr
Sway 1.11 added `security_context_v1` metadata as criteria:
- `sandbox_engine`
- `sandbox_app_id`
- `sandbox_instance_id`
Sway 1.12 will add the `tag` criteria for `xdg_toplevel_tag_v1`, as
well as the `hdr` output option (with options `on`, `off`, and
`toggle`).
closes: #19884
Signed-off-by: Felix Pehla <[email protected]>
Signed-off-by: James Eapen <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/swayconfig.vim b/runtime/syntax/swayconfig.vim
index 5dd9760f5..38a98cd94 100644
--- a/runtime/syntax/swayconfig.vim
+++ b/runtime/syntax/swayconfig.vim
@@ -2,8 +2,8 @@
" Language: sway config file
" Original Author: Josef Litos (litoj/i3config.vim)
" Maintainer: James Eapen <[email protected]>
-" Version: 1.2.7
-" Last Change: 2025-12-02
+" Version: 1.2.8
+" Last Change: 2026-04-01
" References:
" http://i3wm.org/docs/userguide.html#configuring
@@ -28,7 +28,7 @@ syn cluster i3ConfigPopupFullscreenOpts
remove=i3ConfigPopupFullscreenOptsExtra
syn keyword i3ConfigActionKeyword opacity urgent shortcuts_inhibitor splitv
splith splitt contained contained skipwhite nextgroup=i3ConfigOption
syn keyword i3ConfigOption set plus minus allow deny csd v h t contained
contained skipwhite nextgroup=i3ConfigOption,@i3ConfigValue
-syn keyword i3ConfigConditionProp app_id pid shell contained
+syn keyword i3ConfigConditionProp app_id pid shell sandbox_app_id
sandbox_engine sandbox_instance_id tag contained
syn keyword i3ConfigWorkspaceDir prev_on_output next_on_output contained
@@ -134,7 +134,7 @@ syn match swayConfigSeatIdent /[^ ,;]\+/ contained
contains=@i3ConfigStrVar next
syn keyword i3ConfigKeyword seat contained skipwhite
nextgroup=swayConfigSeatIdent
" Output monitors
-syn keyword swayConfigOutputOpts mode resolution res modeline position pos
scale scale_filter subpixel transform disable enable toggle power dpms
max_render_time adaptive_sync render_bit_depth color_profile allow_tearing
contained skipwhite
nextgroup=swayConfigOutputOptVals,@i3ConfigValue,swayConfigOutputMode
+syn keyword swayConfigOutputOpts mode resolution res modeline position pos
scale scale_filter subpixel transform disable enable toggle power dpms
max_render_time adaptive_sync render_bit_depth color_profile allow_tearing hdr
contained skipwhite
nextgroup=swayConfigOutputOptVals,@i3ConfigValue,swayConfigOutputMode
syn keyword swayConfigOutputOptVals linear nearest smart rgb bgr vrgb vbgr
none toggle srgb contained skipwhite
nextgroup=swayConfigOutputOptVals,@i3ConfigValue
syn keyword swayConfigOutputBgVals solid_color fill stretch fit center tile
contained skipwhite nextgroup=@i3ConfigColVar
syn match swayConfigOutputBg /[#$]\S\+ solid_color/ contained
contains=@i3ConfigColVar,swayConfigOutputBgVals skipwhite
nextgroup=swayConfigOutputOpts
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1w8a9L-001qfR-H5%40256bit.org.