From b1014cff5b7cb2273378df640ea6fd9c18c763ba Mon Sep 17 00:00:00 2001 From: Nick Quaranto Date: Wed, 10 Aug 2011 11:38:04 -0400 Subject: [PATCH] fix filetype detection for book authoring --- vim/ftdetect/asciidoc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/ftdetect/asciidoc.vim b/vim/ftdetect/asciidoc.vim index 4180ab05af..08a43c6dd6 100644 --- a/vim/ftdetect/asciidoc.vim +++ b/vim/ftdetect/asciidoc.vim @@ -10,7 +10,7 @@ " The first sets asciidoc syntax highlighting on all .txt files, the second " only existing files *.txt that appear to be AsciiDoc files. -au BufNewFile,BufRead *.txt,README,TODO,CHANGELOG,NOTES setfiletype asciidoc +au BufNewFile,BufRead *.asc,*.asciidoc setfiletype asciidoc "au BufRead *.txt,README,TODO,CHANGELOG,NOTES call s:FTasciidoc() " This function checks for a valid AsciiDoc document title after first