Skip to content
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

New Github style? #9

Open
fladd opened this issue Apr 6, 2020 · 8 comments
Open

New Github style? #9

fladd opened this issue Apr 6, 2020 · 8 comments

Comments

@fladd
Copy link

fladd commented Apr 6, 2020

Hi there, very nice theme. Are there plans to update it to reflect Github's style as of 2020?

@cormacrelf
Copy link
Owner

Have they changed?

@luisdavim
Copy link

there's a new official dark mode is that what this is referring to?

@fladd
Copy link
Author

fladd commented Dec 9, 2020

there's a new official dark mode is that what this is referring to?

No that is not what I meant. I was talking about the current default Github style.

@luisdavim
Copy link

Did the colours on the light theme change?

@cormacrelf
Copy link
Owner

cormacrelf commented Dec 10, 2020

  1. Don't think the light theme changed. If you're thinking "but gee they look different" try a build of vim and a terminal that supports set termguicolors.
  2. The dark theme on GitHub.com was released yesterday ish, and I made my version long before they released theirs. I'm not going to change it because I like mine as it is.

If anyone wants to do a 2020 fork, go ahead (but rename the fork once you have so people can install both at the same time).

@fladd
Copy link
Author

fladd commented Dec 10, 2020

There have been changes in the light theme, yes. A while ago already.

image

@cormacrelf
Copy link
Owner

Well that's something specific I can comment on! If you're comparing a particular file between this scheme and GitHub.com, then almost any file will look at least a little different, and that has always been the case. I don't know that that counts as GitHub having changed. I make no claim that if you took a screenshot like this a year ago it would have looked identical. In any case, the goal is to use the GitHub colours and make a pleasing highlight, so I would absolutely have stopped there when trying to improve Python before. The colour palette hasn't changed that I know of, and that's what I was referring to above.

GitHub has always used different code highlighting from Vim, and therefore different syntax groups. It's possible their new highlighting does more with Python than it used to using a tree sitter backend, so I'd recommend trying using the Neovim tree sitter stuff to get more semantic highlights. If you want to improve the Python syntax, again I would welcome a PR!

@luisdavim
Copy link

looks like there's a fork to update some colours to the 2020 pallet: master...carlweis:master but that won't fix differences between highlighting groups....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants