diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-28 02:19:06 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-28 02:19:06 +0200 |
commit | 417df69667c1df5484d01ea766320324759d8718 (patch) | |
tree | f34979cb45d0148aec93d15d785699b8a6289a30 /ftdetect | |
parent | ae778bdb175f930b69facec5f3ccd1b95953bc88 (diff) | |
download | vim-polyglot-417df69667c1df5484d01ea766320324759d8718.tar.gz vim-polyglot-417df69667c1df5484d01ea766320324759d8718.zip |
Fix zsh missing filenames
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index b6a772b7..ad8feb24 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 */etc/udev/cdsymlinks.conf,*.zsh,.zshrc,.zshenv,.zlogin,.zprofile,.zlogout + au! BufRead,BufNewFile */etc/udev/cdsymlinks.conf,*.zsh,.zshrc,.zshenv,.zlogin,.zprofile,.zlogout,.zlog*,.zcompdump*,.zfbfmarks endif if !has_key(s:disabled_packages, 'smt2') @@ -1773,6 +1773,9 @@ if !has_key(s:disabled_packages, 'sh') au BufNewFile,BufRead man set ft=sh au BufNewFile,BufRead profile set ft=sh au BufNewFile,BufRead *.zsh set ft=zsh + au BufNewFile,BufRead {.,}zcompdump* call s:StarSetf('zsh') + au BufNewFile,BufRead {.,}zfbfmarks set ft=zsh + au BufNewFile,BufRead {.,}zlog* call s:StarSetf('zsh') au BufNewFile,BufRead {.,}zlogin set ft=zsh au BufNewFile,BufRead {.,}zlogout set ft=zsh au BufNewFile,BufRead {.,}zprofile set ft=zsh |