asciidoc/asciidoc-vim-fix.diff

14 lines
741 B
Diff

--- a/vim/ftdetect/asciidoc_filetype.vim.orig 2012-10-27 14:12:14.513899686 +0200
+++ b/vim/ftdetect/asciidoc_filetype.vim 2012-10-27 14:13:19.553561259 +0200
@@ -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 *.asciidoc,*.txt,README,TODO,CHANGELOG,NOTES setfiletype asciidoc
-"au BufRead *.txt,README,TODO,CHANGELOG,NOTES call s:FTasciidoc()
+"au BufNewFile,BufRead *.asciidoc,*.txt,README,TODO,CHANGELOG,NOTES setfiletype asciidoc
+au BufRead *.txt,README,TODO,CHANGELOG,NOTES call s:FTasciidoc()
" This function checks for a valid AsciiDoc document title after first
" skipping any leading comments.