Christian,

On Wed, 3 Jul 2024 at 06:52, Christian J. Robinson <hept...@gmail.com>
wrote:

>
> This script doesn't highlight properly:
>     vim9script
>
>     def Out(in: bool): bool
>
>         if in
>             echo "yay!"
>         else
>             echo "boo!"
>         endif
>
>         return in
>     enddef
>
> This one does:
>     vim9script
>
>     def Out(in: bool): bool
>         if in
>             echo "yay!"
>         else
>             echo "boo!"
>         endif
>
>         return in
>     enddef
>
> The only difference is a blank line after the def line.
>

I can't reproduce this with vim --clean and the latest version of the
syntax file (June 21).

I did kludge around a possible bug in the syntax highlighter that exposed
itself in a recent change to the def/function body definitions.  So I
wasn't entirely surprised to see your report.  I'd probably expect to see
it in legacy-script functions as well if it was related to that change.

Thanks,
Doug

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJ1uvoB3dBTPzbokmw_gDmUSFRqGumCRxQh87vGrSfJu2NREGA%40mail.gmail.com.

Raspunde prin e-mail lui