vim-colors-github icon indicating copy to clipboard operation
vim-colors-github copied to clipboard

New Github style?

Open fladd opened this issue 5 years ago • 8 comments

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

fladd avatar Apr 06 '20 21:04 fladd

Have they changed?

cormacrelf avatar Apr 08 '20 04:04 cormacrelf

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

luisdavim avatar Dec 09 '20 14:12 luisdavim

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.

fladd avatar Dec 09 '20 14:12 fladd

Did the colours on the light theme change?

luisdavim avatar Dec 09 '20 23:12 luisdavim

  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).

cormacrelf avatar Dec 10 '20 03:12 cormacrelf

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

image

fladd avatar Dec 10 '20 12:12 fladd

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!

cormacrelf avatar Dec 10 '20 13:12 cormacrelf

looks like there's a fork to update some colours to the 2020 pallet: https://github.com/cormacrelf/vim-colors-github/compare/master...carlweis:master but that won't fix differences between highlighting groups....

luisdavim avatar Dec 10 '20 23:12 luisdavim