Sunday, October 30, 2022

Re: Embedding Lua in vim9script breaks syntax highlight

Hi Nicolas,

I'd recommend having Lua code in a Lua file, then using the Lua region in Vim9script to import the Lua file — if you must.

A better recommendation would just be to write Vim9script though. I find it easier to write.

Best,
Igbanam

On Sun, Oct 30, 2022 at 5:38 AM Nicolas <nivaemail@gmail.com> wrote:
Hi,

it Seems that the lua print code line above, when embedded in lua region code breaks vim9 syntax highlight.

How to fix it ?
Thank you
Nicolas


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/fb697870-e489-4d98-ad05-1a28e5b793a0n%40googlegroups.com.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOmRJrfYr6pZT7DsAmYtMkz7hi9mrp_V2UjwdXVSrsrvyC2xxg%40mail.gmail.com.

No comments: