diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-28 00:31:39 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-28 00:31:39 +0200 |
commit | 2116dd281b99ed77bf9134f96a33230dc5b30e1c (patch) | |
tree | 6fa103dad3cbdf2f4a44173caecb29cec8b0721c /ftdetect | |
parent | 7ec499c19f91122724d1518887ba3ffe4a8fcb43 (diff) | |
download | vim-polyglot-2116dd281b99ed77bf9134f96a33230dc5b30e1c.tar.gz vim-polyglot-2116dd281b99ed77bf9134f96a33230dc5b30e1c.zip |
Fix some missing extensions warnings
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 4b01a241..52c536e9 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -427,7 +427,7 @@ if !has_key(s:disabled_packages, 'scss') endif if !has_key(s:disabled_packages, 'sh') - au! BufRead,BufNewFile *.zsh,.zshrc,.zshenv,.zlogin,.zprofile,.zlogout + au! BufRead,BufNewFile */etc/udev/cdsymlinks.conf,*.zsh,.zshrc,.zshenv,.zlogin,.zprofile,.zlogout endif if !has_key(s:disabled_packages, 'smt2') @@ -446,6 +446,10 @@ if !has_key(s:disabled_packages, 'terraform') au! BufRead,BufNewFile *.tf endif +if !has_key(s:disabled_packages, 'tmux') + au! BufRead,BufNewFile .tmux*.conf +endif + if !has_key(s:disabled_packages, 'toml') au! BufRead,BufNewFile Pipfile endif @@ -1737,6 +1741,7 @@ if !has_key(s:disabled_packages, 'sh') au BufNewFile,BufRead *.sh.in set ft=sh au BufNewFile,BufRead *.tmux set ft=sh au BufNewFile,BufRead *.tool set ft=sh + au BufNewFile,BufRead */etc/udev/cdsymlinks.conf set ft=sh au BufNewFile,BufRead {.,}bash_aliases set ft=sh au BufNewFile,BufRead {.,}bash_history set ft=sh au BufNewFile,BufRead {.,}bash_logout set ft=sh @@ -1834,7 +1839,7 @@ if !has_key(s:disabled_packages, 'thrift') endif if !has_key(s:disabled_packages, 'tmux') - au BufNewFile,BufRead {.,}tmux.conf set ft=tmux + au BufNewFile,BufRead {.,}tmux*.conf set ft=tmux endif if !has_key(s:disabled_packages, 'toml') |