ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Clint Grady via ntg-context <ntg-context@ntg.nl>
To: "Clint Grady" <ntg-context@ntg.nl>
Cc: Clint Grady <clint_grady@fastmail.com>
Subject: Re: Neovim and ConTeXt
Date: Fri, 26 Nov 2021 07:16:47 +0100	[thread overview]
Message-ID: <67940da2-8f5a-4fae-bba9-d7d1691846c5@www.fastmail.com> (raw)
In-Reply-To: <sno7kh$b61$1@ciao.gmane.io>


[-- Attachment #1.1: Type: text/plain, Size: 3188 bytes --]

> But, Vim and NeoVim have diverged enough that they should be considered
> totally different (and incompatible) programs. The new version of the
> ConTeXt plugin (which is not shipped yet) is written in Vim9 script,
> which NeoVim does not implement. My time is limited, so I can't support
> both platforms, and I have decided to stick with Vim. If anyone wants to
> try the new plugin, feel free to contact me via email.

I'd be very happy to try the new version of the plugin. I'm also happy to work on porting it to NeoVim. 

Clint

On Thu, 25 Nov 2021, at 15:46, Nicola via ntg-context wrote:
> On 2021-11-24, Aditya Mahajan via ntg-context <ntg-context@ntg.nl> wrote:
> > I don't know what is the current state of context syntax highlighting
> > support in vim/neovim (I use a highly modifies syntax file). It will
> > be nice to have support of \startMP(code|page) and \startluacode to do
> > syntax highlighting for metapost and lua.
> 
> I maintain the ConTeXt's plugin for Vim. It has async compilation
> support, and context-sensitive (pun not intended) syntax highlighting.
> All is explained in the wiki. I would expect syntax highlighting and
> mappings to be functional in NeoVim, too (async jobs are incompatible
> with NeoVim, however).
> 
> But, Vim and NeoVim have diverged enough that they should be considered
> totally different (and incompatible) programs. The new version of the
> ConTeXt plugin (which is not shipped yet) is written in Vim9 script,
> which NeoVim does not implement. My time is limited, so I can't support
> both platforms, and I have decided to stick with Vim. If anyone wants to
> try the new plugin, feel free to contact me via email.
> 
> > Metafun has added some new keywords and it will be nice to support
> > those. I believe that context ships with a file that outputs all these
> > keywords but I don't remember the name.
> 
> Yes, that was added at my request (thanks Hans!). The command is:
> 
>     mtxrun --script mtx-interface --vim
> 
> The next version of my plugin uses those. The version currently shipping
> with Vim was curated by hand, with the help of custom scripts to
> automate keyword extraction. It should be ok, although at this point not
> really up to date with the most recently added keywords.
> 
> > It will be cool to have a more integrated support, like showing table
> > of contents in the sidebar,
> 
> For that, I use the TagBar plugin, with custom Ctags configuration.
> Config is in the wiki!
> 
> > modifying the jump keys so that so that ]] etc work correctly (with
> > the context syntax)
> 
> The ConTeXt plugin in Vim does that. Again, take a look at the wiki.
> 
> Cheers,
> Nicola
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 

[-- Attachment #1.2: Type: text/html, Size: 4696 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2021-11-26  6:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24  8:30 Clint Grady via ntg-context
2021-11-24 10:59 ` Aditya Mahajan via ntg-context
2021-11-25 14:46   ` Nicola via ntg-context
2021-11-25 15:24     ` Aditya Mahajan via ntg-context
2021-11-26  6:16     ` Clint Grady via ntg-context [this message]
2021-11-29 13:18       ` Nicola via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=67940da2-8f5a-4fae-bba9-d7d1691846c5@www.fastmail.com \
    --to=ntg-context@ntg.nl \
    --cc=clint_grady@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).