-
Notifications
You must be signed in to change notification settings - Fork 2
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
Neovim adaptor? #4
Comments
@Gnurou hey man, so glad to hear that :) No actually writing an adapter is easier than you can think. However there is a huge problem in doing so with the neovim. Currently Pro Colors is built on top of the grammars that ship for the vscode. In theory you can use the same grammars on say Sublime, Atom, TextMate or any other system that supports the tmLanguage specification and you're going to be good. However while you can very easily write an adapter that translates the very basic rules like I'm actually a huge fan of the possibility of this because then I can ship Pro Colors to many other places (which I really would love to) but I'm blocked on the matter of each editor having their own very incompatible grammars. If you can dig into the problem and see what's possible, it could turn amazing. |
Thanks for the details! I guess one could just have a mapping table between the VSCode grammar's and Vim's highlight groups (or what any other editor uses). There would probably be holes here and there, but since the VScode grammar looks rather complete it probably makes sense to use it as the reference one. I'll see if I can come with something for the basic rules first, while keeping looking at how Vim's highlight groups are organized. |
That could be really interesting. I'd love to ship Pro Colors to other editors really :) |
I tried taking a short look but after installing themex (`sudo npm -g install themex) I cannot build ProColors:
Do you have any idea about what I am doing wrong here? |
Wow, okay that's my bad :) perks of using mac to code :) |
Hi,
Kary Pro Colors is my absolute favorite theme and I'd love to be able to use it in Neovim. The idea behind themeX is great, but at the moment it seems to support only a few editors - do you think it would be difficult to write an adaptor for Neovim?
The text was updated successfully, but these errors were encountered: