From a84077766413044da4fa7ee39b41b3e0b2ee6690 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 26 May 2009 09:42:58 +0200 Subject: [PATCH] asciidoc: Detect if a text file is AsciiDoc. --- ftdetect/asciidoc_filetype.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.45.2