summaryrefslogtreecommitdiffstats
path: root/syntax/tmux.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-11-04 09:04:28 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-11-04 09:04:28 +0100
commit4e95df7c7e12cb76e781f2dacf1c07f8984cce58 (patch)
treeaf9230137ec342d4bed0a68a9ccb49ed3303b3d0 /syntax/tmux.vim
parent31c55b85a03d96252bba14d64911cc78a20369a1 (diff)
downloadvim-polyglot-4e95df7c7e12cb76e781f2dacf1c07f8984cce58.tar.gz
vim-polyglot-4e95df7c7e12cb76e781f2dacf1c07f8984cce58.zip
Update
Diffstat (limited to 'syntax/tmux.vim')
-rw-r--r--syntax/tmux.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/tmux.vim b/syntax/tmux.vim
index 7e65662d..d3dbaf82 100644
--- a/syntax/tmux.vim
+++ b/syntax/tmux.vim
@@ -30,6 +30,7 @@ syn match tmuxNumber /\<\d\+\>/ display
syn match tmuxFlags /\s-\a\+/ display
syn match tmuxVariable /\w\+=/ display
syn match tmuxVariableExpansion /\${\=\w\+}\=/ display
+syn match tmuxControl /%\(if\|elif\|else\|endif\)/
syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo
@@ -45,6 +46,7 @@ hi def link tmuxFormatString Identifier
hi def link tmuxAction Boolean
hi def link tmuxBoolean Boolean
hi def link tmuxCommands Keyword
+hi def link tmuxControl Keyword
hi def link tmuxComment Comment
hi def link tmuxKey Special
hi def link tmuxNumber Number