aboutsummaryrefslogtreecommitdiff
path: root/vim/filetype.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-08 21:02:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-08 21:02:57 +1200
commit882ea103b7a7be226ee58b5df0948dd73e192c6f (patch)
tree9a50150e42388a88c9248d5fa44db2fdc776567b /vim/filetype.vim
parentcbb65c137e969cae4d442411c6796a6027316a2e (diff)
downloaddotfiles-882ea103b7a7be226ee58b5df0948dd73e192c6f.tar.gz
dotfiles-882ea103b7a7be226ee58b5df0948dd73e192c6f.zip
Add patterns for Vim help file detection
Diffstat (limited to 'vim/filetype.vim')
-rw-r--r--vim/filetype.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index bda01984..440ee6e1 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -172,6 +172,8 @@ augroup filetypedetect
" Vim help files
autocmd BufNewFile,BufRead
\ ~/.vim/doc/?*.txt
+ \,*/vim-*/doc/?*.txt
+ \,*/*.vim/doc/?*.txt
\,$VIMRUNTIME/doc/?*.txt
\ setfiletype help
" HTML files