Vim Syntax highlighting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Vim Syntax highlighting

sonson
I write Asciidoctor files in Vim and look for a good syntax highlighting plugin.

The Asciidoctor homepage "Installing the Toolchain" links to the old Asciidoc homepage which links to  the plugin dagwieers/asciidoc-vim https://github.com/dagwieers/asciidoc-vim/ . Unfortunately the project wasn't updated anymore in the last two years and there are many features from Asciidoctor unsupported (f.ex. ATX headers...).

Can you suggest me an improved syntax highlighting plugin for Vim?
Reply | Threaded
Open this post in threaded view
|

Re: Vim Syntax highlighting

mojavelinux
Administrator
There's a recent discussion on the AsciiDoc Python mailinglist about splitting the VIM syntax file into its own repository and bringing it up to date. In that thread, you can find a link to a much more recent version. We should continue the discussion there.

https://groups.google.com/d/topic/asciidoc/R8skrs2aWxU/discussion

-Dan

On Wed, Feb 4, 2015 at 6:54 AM, sonson [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I write Asciidoctor files in Vim and look for a good syntax highlighting plugin.

The Asciidoctor homepage "Installing the Toolchain" links to the old Asciidoc homepage which links to  the plugin dagwieers/asciidoc-vim https://github.com/dagwieers/asciidoc-vim/ . Unfortunately the project wasn't updated anymore in the last two years and there are many features from Asciidoctor unsupported (f.ex. ATX headers...).

Can you suggest me an improved syntax highlighting plugin for Vim?


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Vim-Syntax-highlighting-tp2764.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Reply | Threaded
Open this post in threaded view
|

Re: Vim Syntax highlighting

sonson
Thanks for the link to the interesting discussion, although i cannot find here a link to a more recent version of the Vim plugin. I now use https://github.com/mjakl/vim-asciidoc and will watch out for the "official" vim-asciidoc repository.
Reply | Threaded
Open this post in threaded view
|

Re: Vim Syntax highlighting

mojavelinux
Administrator
Here's the one to test that is the candidate for the new official repository.

https://github.com/powerman/asciidoc/blob/powerman/vim/syntax/asciidoc.vim

You can see the pull request that Alex is sending in the AsciiDoc repository:

https://github.com/asciidoc/asciidoc/pulls?q=is%3Aopen+is%3Apr

-Dan

On Thu, Feb 5, 2015 at 3:25 AM, sonson [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Thanks for the link to the interesting discussion, although i cannot find here a link to a more recent version of the Vim plugin. I now use https://github.com/mjakl/vim-asciidoc and will watch out for the "official" vim-asciidoc repository.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Vim-Syntax-highlighting-tp2764p2768.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--