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 <nivaem...@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 > > [image: Capture d’écran 2022-10-30 063445.png] > [image: Capture d’écran 2022-10-30 063530.png] > > -- > -- > 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+unsubscr...@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 > <https://groups.google.com/d/msgid/vim_use/fb697870-e489-4d98-ad05-1a28e5b793a0n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOmRJrfYr6pZT7DsAmYtMkz7hi9mrp_V2UjwdXVSrsrvyC2xxg%40mail.gmail.com.