summaryrefslogtreecommitdiffstats
path: root/syntax/tmux.vim
diff options
context:
space:
mode:
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