From 34eb36e6d1f6a930200c2afe2db583158cd59f18 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 6 Sep 2019 14:49:10 +0200 Subject: Fix tmux plugin --- ftdetect/polyglot.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ftdetect') 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 +" 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 -- cgit v1.2.3