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

Vim adapter #10

Open
albertorestifo opened this issue Oct 27, 2016 · 5 comments
Open

Vim adapter #10

albertorestifo opened this issue Oct 27, 2016 · 5 comments

Comments

@albertorestifo
Copy link

Would be awesome to have the official github colorscheme for vim too

@jonrohan
Copy link
Member

That would be awesome! But I haven't the slightest idea about Vim theming. Would greatly accept any PR and host the theme repository.

@albertorestifo
Copy link
Author

albertorestifo commented Oct 27, 2016

I'm looking into it but it's not easy to create a generator for the vim colorschemes.
What I'm doing instead is use the JSON file to "curate" a vim theme.

Once I finish, if the result will be of your liking, I have no problem in transferring the ownership to this organization.

The GitHub theme is by far my favourite and the day the official theme landed in Atom I was really really happy. Unfortunately I switched to vim 🙈

@albertorestifo
Copy link
Author

albertorestifo commented Nov 28, 2016

This is my best attempt at a vim theme: github.vim

I used this repository for color reference and I manually checked against github for accuracy. It's somewhat limited in supported languages for now, but it's something

@jonrohan
Copy link
Member

jonrohan commented Dec 9, 2016

Wow, nice job. Would like to look into this more though and create a vim.js adapter in the compiler for this.

@albertorestifo
Copy link
Author

There are two main obstacles to deal with when creating a vim theme:

  1. Every colour must also be translated to a 256 xterm colour
  2. Specifying only the default Vim syntax themes won't cut it: every syntax package has it's own rules and names

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

No branches or pull requests

2 participants