-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add support for xterm colors #122
Comments
Yeah I see the color names returned from |
Would be great! Also, two other things I noticed regarding xterm colors;
I'm just dumping my mind here, things that could be nice to have :) Thanks |
According to https://www.ditig.com/publications/256-colors-cheat-sheet
Do you have an documentation about
Parsing for say I think I would want to have an === Presently I am playing around with a configuration key to configure the local plugin_user_default_options = {
names = true,
names_opts = {
lowercase = true,
camelcase = true,
uppercase = false,
strip_digits = false,
},
names_custom = false,
... This effectively allows for controlling highlighting |
Right, this is an interesting rabbit hole... Seems like I don't fully see the connection between HTML colors, Xterm colors and ANSI escape codes though...
What I was after in my first message above was that Neovim would show what my actual Maybe that could be an option? An option to map Sorry for this ramble mess of text. Yes, option for ignoring camel case etc could be good! |
Ramble on :D It looks like we can set highlight by Currently nvim-colorizer.lua/lua/colorizer/buffer.lua Lines 67 to 78 in 3437b6b
but if there were a |
I came across this when configuring Tmux. In Tmux you can use either
white
,#ffffff
orcolour15
to indicate white (possibly more ways). Using the last method does not show any color withnvim-colorizer.lua
.After some googling it seems like the
colourNNN
is a way to denote the xterm colors.Tmux supports using both the American (
color
) and British (colour
) spelling.More information:
The text was updated successfully, but these errors were encountered: