Hi Dag

I've applied your patch to the trunk (http://code.google.com/p/asciidoc/source/detail?r=b83998348805140b6dbc5b29561e777f823a51c5).

Cheers, Stuart


On 30/09/11 09:24, Dag Wieers wrote:
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,

--
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