ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] vim syntax highlighting bug?
@ 2024-01-06 11:28 Damien Thiriet via ntg-context
  2024-01-06 15:24 ` [NTG-context] " Christian Prim via ntg-context
  2024-01-08 11:16 ` Vincent Hennebert
  0 siblings, 2 replies; 5+ messages in thread
From: Damien Thiriet via ntg-context @ 2024-01-06 11:28 UTC (permalink / raw)
  To: ntg-context; +Cc: damien

Hello,


Happy New Year!

I got into a bug in my Vim syntax highlighting version.
Highlight stays in lua mode after ctxlua macro is closed.
Here is a MWE, where «this should not be highlitghted as
a comment indeed is.

\starttext

Hello!
\ctxlua{context("does the parser work?")}

-- this should not be highlighted as a comment

\stoptext

Do other Vim users come into this?
Is my syntax file outdated?

I am using this Vim version on OpenBSD 7.3 -stable:
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep  6 2023 08:55:14)
Included patches: 1-1876

Best regards,

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [NTG-context] Re: vim syntax highlighting bug?
@ 2024-01-22 23:25 Damien Thiriet via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Damien Thiriet via ntg-context @ 2024-01-22 23:25 UTC (permalink / raw)
  To: ntg-context; +Cc: damien

Thanks Vincent for your patch, solved this issue.

Best regards,

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-23  0:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-06 11:28 [NTG-context] vim syntax highlighting bug? Damien Thiriet via ntg-context
2024-01-06 15:24 ` [NTG-context] " Christian Prim via ntg-context
2024-01-08 11:16 ` Vincent Hennebert
2024-01-09 15:39   ` Gerion Entrup
2024-01-22 23:25 Damien Thiriet via ntg-context

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