In /usr/share/vim/vim73/filetype.vim I see following autocommand au BufNewFile,BufRead *.txt,*.text setf text
This means that that *.txt files are already set to filetype "text". Now the setfiletype cannot reset the filetype. au BufNewFile,BufRead *.asciidoc,*.txt,README,TODO,CHANGELOG,NOTES setfiletype asciidoc What is the best strategy to have ony asciidoc files ending in *.txt detected as asciidoc instead of calling the autocommand on all *.txt file? -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/groups/opt_out.
