Closed nyngwang closed 9 months ago
Thanks for reporting! Should be fixed now. Cuold you give it a try? Feel free to reopen the issue if it's still happening 😄
@brenoprata10 Lol, I just completed my PR and fixed it too. Can confirm that it works :) Thank you for the swift fix!
I just found another bug case with similar cause, just pushed a fix, please update your plugin again :p
Yeah, it's always tricky to solve those edge cases where -1
,nil
or something that is passed into those neovim APIs.
update: can confirm that the new one works.
I think this is easy to fix by ensuring that it is always safe to call
HighlightColors
related commands again even if it's already enabled.The error is caused by one of my autocmd to enable your plugin once I have changed
colorscheme
, which saves me from manually enabling it again. This used to work fine before the recent updates: