asciidoc/asciidoc-vim-fix.diff

14 lines
603 B
Diff

--- vim/ftdetect/asciidoc_filetype.vim-dist 2008-01-24 17:39:34.000000000 +0100
+++ vim/ftdetect/asciidoc_filetype.vim 2008-01-24 17:39:39.000000000 +0100
@@ -10,8 +10,8 @@
" 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 setfiletype asciidoc
-"au BufRead *.txt call s:FTasciidoc()
+"au BufNewFile,BufRead *.txt setfiletype asciidoc
+au BufRead *.txt call s:FTasciidoc()
" This function checks for a valid AsciiDoc document title after first
" skipping any leading comments.