Skip to content

Commit

Permalink
fix filetype detection for book authoring
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrivadeneira committed Aug 10, 2011
1 parent 2cddd3c commit b1014cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vim/ftdetect/asciidoc.vim
Expand Up @@ -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
Expand Down

0 comments on commit b1014cf

Please sign in to comment.