2012-10-27 13:11:21 +00:00
|
|
|
--- 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
|
2008-01-24 19:16:27 +00:00
|
|
|
@@ -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.
|
|
|
|
|
2012-10-27 13:11:21 +00:00
|
|
|
-au BufNewFile,BufRead *.asciidoc,*.txt,README,TODO,CHANGELOG,NOTES setfiletype asciidoc
|
2008-06-23 00:22:22 +00:00
|
|
|
-"au BufRead *.txt,README,TODO,CHANGELOG,NOTES call s:FTasciidoc()
|
2012-10-27 13:11:21 +00:00
|
|
|
+"au BufNewFile,BufRead *.asciidoc,*.txt,README,TODO,CHANGELOG,NOTES setfiletype asciidoc
|
2008-06-23 00:22:22 +00:00
|
|
|
+au BufRead *.txt,README,TODO,CHANGELOG,NOTES call s:FTasciidoc()
|
2008-01-24 19:16:27 +00:00
|
|
|
|
|
|
|
" This function checks for a valid AsciiDoc document title after first
|
|
|
|
" skipping any leading comments.
|