summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-06 14:49:10 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-06 14:49:10 +0200
commit34eb36e6d1f6a930200c2afe2db583158cd59f18 (patch)
treed361aa17417f6652cfa13e47b5e153c8a7b57aa1 /ftdetect/polyglot.vim
parent84ec4eedcdd2892249b5369f91a6dd1d12fef2fc (diff)
downloadvim-polyglot-4.0.1.tar.gz
vim-polyglot-4.0.1.zip
Fix tmux pluginv4.0.1
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 6e00b8d3..42d1b344 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1390,6 +1390,18 @@ au BufNewFile,BufRead *.thrift setlocal filetype=thrift
augroup end
endif
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tmux') == -1
+ augroup filetypedetect
+ " tmux, from tmux.vim in ericpruitt/tmux.vim:_ALL:/vim/
+" Language: tmux(1) configuration file
+" URL: https://github.com/ericpruitt/tmux.vim/
+" Maintainer: Eric Pruitt <eric.pruitt@gmail.com>
+" Last Changed: 2017 Mar 10
+
+autocmd BufNewFile,BufRead {.,}tmux.conf setfiletype tmux
+ augroup end
+endif
+
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'toml') == -1
augroup filetypedetect
" toml, from toml.vim in cespare/vim-toml