summaryrefslogtreecommitdiffstats
path: root/ftplugin/tmux.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftplugin/tmux.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/tmux.vim b/ftplugin/tmux.vim
index fa2ae587..3dfb60fb 100644
--- a/ftplugin/tmux.vim
+++ b/ftplugin/tmux.vim
@@ -1,5 +1,5 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tmux') == -1
-
-setlocal commentstring=#\ %s
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'tmux') != -1
+ finish
endif
+
+setlocal commentstring=#\ %s