X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=ftdetect%2Fasciidoc_filetype.vim;h=9a936e08d3a21733d9e43eaf18ed194df89f7d38;hb=b50e0bf0217fb8fe52ba803565480abdb36b8f10;hp=4180ab05affe314085c5143748cd8cb7e7e4a567;hpb=1a38d5256b9a89106ab9361328fa907055427420;p=config%2Fdotfiles.git diff --git a/ftdetect/asciidoc_filetype.vim b/ftdetect/asciidoc_filetype.vim index 4180ab0..9a936e0 100644 --- a/ftdetect/asciidoc_filetype.vim +++ b/ftdetect/asciidoc_filetype.vim @@ -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,README,TODO,CHANGELOG,NOTES setfiletype asciidoc -"au BufRead *.txt,README,TODO,CHANGELOG,NOTES call s:FTasciidoc() +"au BufNewFile,BufRead *.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.