Sunday, October 30, 2022

Re: Embedding Lua in vim9script breaks syntax highlight

Thank you a lot for advise Owajigbanam :) 
Nicolas. 

Le dim. 30 oct. 2022 à 19:23, Owajigbanam Ogbuluijah <xigbanam@gmail.com> a écrit :
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 a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/_lQU2GB4g9w/unsubscribe.
To unsubscribe from this group and all its topics, 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.

--
--
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/CAOKxv4H_d%2B0OTENpAMnxKS4Hb6vJWctoRa2F4Z3ETpBDG%2BB0Zw%40mail.gmail.com.

No comments:

Post a Comment