Hi,

Can we add .asciidoc support to vim's ftdetect (as shipped with AsciiDoc). Since this is now the default extension for eg. AsciiDoc README files in Github, we might as well make sure vim does color-highlighting automatically for Github users.

The lines at the top of ftdetect/asciidoc_filetype.vim needs to be changed to add *.asciidoc:

----
au BufNewFile,BufRead *.asciidoc,*.txt,README,TODO,CHANGELOG,NOTES  setfiletype 
asciidoc
"au BufRead *.asciidoc,*.txt,README,TODO,CHANGELOG,NOTES call s:FTasciidoc()
----

Not sure if adding .adoc is ok, since it's not considered a standard (I personally hate .asciidoc as it is too long to my taste).

Kind regards,
--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to