aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect/help.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftdetect/help.vim')
-rw-r--r--vim/ftdetect/help.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/ftdetect/help.vim b/vim/ftdetect/help.vim
new file mode 100644
index 00000000..b516ed7e
--- /dev/null
+++ b/vim/ftdetect/help.vim
@@ -0,0 +1,4 @@
+" Custom Vim help documentation filetype detection
+autocmd BufNewFile,BufRead
+ \ **/vim/**/doc/*.txt,**/.vim/**/doc/*.txt
+ \ setlocal filetype=help