Tuesday, June 14, 2022

Re: default colorscheme highlights in red the : char in signature g:Func defined vim9script

Thanks à lot for our eyes Bram, it is fixed since 6ba83ba9ee292f68aa0b218b3eef42db31c0b632
I wish you à Good Day
NV

Le dimanche 12 juin 2022 à 09:18:25 UTC+2, N V a écrit :
Strange thing, it seems that solarized thème applied, thé error red : char disappear. 

Le samedi 11 juin 2022 à 21:29:24 UTC+2, Ni Va a écrit :
Yes it's highlighting error. Thought it was due to sacredforest colorscheme but no. 

Yes it seems to be a fix on vim syntax focused on Func declarative signature. 😊 

Le samedi 11 juin 2022 à 19:53:57 UTC+2, Bram Moolenaar a écrit :

> default colorscheme highlights in red the : char of g:Func defined
> vim9script function.
>
> Just updated the vimrc_example.vim in vim9script, it displays the red :
> char.
>
> It's disturbing for eyes. 𐟘Š

I noticed it too, and it looks like it's highlighting an error, even
though it is just fine. It probably happens because there is no "call"
before the function name.

I can fix it by dropping "vimCommand" from the contains list of the "syn
match vimFunc" line in the vim.vim syntax file. But it probably has
side effects.

--
Q: Why does /dev/null accept only integers?
A: You can't sink a float.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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/0f60abaf-e8f5-4389-9acc-1906dcf7e97cn%40googlegroups.com.

No comments:

Post a Comment