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

16 ansi colors names #1138

Closed
lobre opened this issue Sep 28, 2023 · 2 comments
Closed

16 ansi colors names #1138

lobre opened this issue Sep 28, 2023 · 2 comments
Labels
meta:duplicate meta:feature-request meta:help-wanted Good for developers with limited familiarity with the codebase.

Comments

@lobre
Copy link

lobre commented Sep 28, 2023

I would like to try to reproduce the theme I have always used in vim, which is noctu, a simple theme for 16-color terminals.

In vim, I can refer to colors by their number.

hi Pmenu ctermfg=15 ctermbg=0

So I can easily target the 16 first colors. Kakoune also has names for those 16 first colors.

https://github.com/mawww/kakoune/blob/23afed056b14f66b345a4b36dd742848bec91ea2/src/color.cc#L12

In vis, I don't find if this is doable. I can see the 8 first colors are declared here

But how do I refer to the ones from 8 to 15?

@rnpnr rnpnr added meta:feature-request meta:help-wanted Good for developers with limited familiarity with the codebase. meta:duplicate labels Oct 10, 2023
@rnpnr
Copy link
Collaborator

rnpnr commented Oct 10, 2023

duplicate of #1083

@lobre
Copy link
Author

lobre commented Oct 11, 2023

Thank you, if I understand, this means it is not supported yet and we can only the 8 first colors at the moment. No need to keep this issue open then. This can be followed in the linked issue.

@lobre lobre closed this as completed Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta:duplicate meta:feature-request meta:help-wanted Good for developers with limited familiarity with the codebase.
Projects
None yet
Development

No branches or pull requests

2 participants