summaryrefslogtreecommitdiffstats
path: root/syntax/tmux.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-12-30 11:10:32 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-12-30 11:10:32 +0100
commitbb85059bacd5b415a012f25679111a0e55d3c6d9 (patch)
tree315b2238ec4840aa4bf00ae48276bdffded07673 /syntax/tmux.vim
parent11f53253ad9fd0cd3e7a44ed9f8c80a4f265b46e (diff)
downloadvim-polyglot-bb85059bacd5b415a012f25679111a0e55d3c6d9.tar.gz
vim-polyglot-bb85059bacd5b415a012f25679111a0e55d3c6d9.zip
Update
Diffstat (limited to '')
-rw-r--r--syntax/tmux.vim7
1 files changed, 4 insertions, 3 deletions
diff --git a/syntax/tmux.vim b/syntax/tmux.vim
index 69153893..64dd0e4f 100644
--- a/syntax/tmux.vim
+++ b/syntax/tmux.vim
@@ -19,9 +19,9 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tmux') == -1
" - Switch on syntax highlighting by adding "syntax enable" to .vimrc.
"
-if version < 600
+if v:version < 600
syntax clear
-elseif exists("b:current_syntax")
+elseif exists('b:current_syntax')
finish
endif
@@ -52,6 +52,7 @@ syn keyword tmuxCmds
\ confirm
\ confirm-before
\ copy-mode
+ \ copy-mode-vi
\ delete-buffer
\ deleteb
\ detach
@@ -327,6 +328,6 @@ hi def link tmuxTodo Todo
hi def link tmuxVariable Constant
hi def link tmuxVariableExpansion Constant
-let b:current_syntax = "tmux"
+let b:current_syntax = 'tmux'
endif