-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potentially breaking behavior by neovim 0.10 #68
Comments
Relevant details about what changed in neovim behavior: |
I'm not sure if these are the changes you are talking about but after updating Neovim I had to make these changes in gotham.vim in order to account for the missing colors around line 138 call s:Col('Operator', 'base5') This is probably old news to proficient Neovim users but to know what highlight group is under your curser, you just have to use the :Inspect command in Neovim. That's how I knew to add the @variable line which ultimately fixed a lot of the missing color for that highlight group |
Hey folks, thanks for reporting this. I don't use Vim (anymore) or Neovim, so I won't be able to fix this. If you figure out fixes that work with Neovim and don't break Vim, PRs are more than welcome. 🙃 |
Just FYI, I'm working on creating a Lua theme based on Vim Gotham, so I'll try to address this, but I'm not going to try to handle stock vim support. And thanks for the hint about |
@shmerl Awesome lol I was just doing the same thing, maybe I'll just wait for you to finish. I had no idea fzf-lua was a thing, that would have been really helpful. |
Sure, but it might take me some time, I'm also learning Lua in the process 😄 I'll comment here once I'll have something functional. And fzf-lua has a lot of cool features indeed. |
Some notes (I'm almost done with first draft of the lua theme and will publish it soon). For Function I'm adding a new color and the rest from your list examples changed like this between neovim 0.9 and 0.10: 0.9: Operator -links to Statement 0.10: So your fix for Operator is correct (Statement is base 5), but your fix for Delimiter seems off? It was linked to Special, which was orange. Also, Identifier was linked to base5, not base6, so @variable also should get base5? And that's just for these. I'll probably have to go through all groups that use |
It's probably nicer though to bump identifier to something brighter than statement, so base 6 may be a good idea regardless. |
Ah my apologies when I initially made those changes I just changed them to colors within the theme that I liked so they may not 100% maintain the same effect of the original color scheme. You should definitely cross reference the original one. @shmerl Good luck, feel free to message if you need help |
Thanks! Do you know by chance what these are?
I can't find any documentation. Internally neovim defines some expressions for them though so they are valid groups. Note, that's not the same as regular |
I can look into this tomorrow but as to not spam this chat I suggest you add me to your Neovim project and create an issue . I can't promise I'll have much time to work on this and you can limit my access, but I can at least answer questions. Up 2 you. You can also email me here if you'd like [email protected]. @shmerl |
I think vim-gotham is affected by neovim/neovim#26378
I'll take a closer look, but I just noticed some colors being broken after switching from 0.9.x to 0.10.
The text was updated successfully, but these errors were encountered: