-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Symbol highlighting and autocomplete window #95
Comments
to fix autocomplete:
Are you referring to on_highlights = function(colors, color)
local shade = color.shade
local tint = color.tint
local blend = color.blend
return {
LspReferenceRead = { ... }
LspReferenceWrite = { ... }
}
end
You can find the highlight group with the help of neovim docs Tip With annotations make it a lot easier. |
@maxmx03 the autocomplete part worked like a charm! 💯 Yes, I was refering to lsp-highlight, and MatchParen. I saw your code snippet, but I do not understand what I'm supposed to put between the curly brackets. I'm testing different configurations like the ones you show in the readme, but nothing changes:
And then am I supposed to set values for MatchPattern in the same return block? |
yes, full example: 'maxmx03/solarized.nvim',
lazy = false,
priority = 1000,
---@type solarized.config
opts = {
transparent = {
enabled = true,
lazy = false,
mason = false,
neotree = false,
},
on_highlights = function()
---@type solarized.highlights
return {
MatchParen = { reverse = true },
LspReferenceRead = { bg = colors.base02, standout = true },
LspReferenceWrite = { bg = colors.base02, standout = true },
-- more ...
}
end,
},
config = function(_, opts)
require('solarized').setup(opts)
vim.cmd.colorscheme 'solarized'
end,
}, |
That worked like a charm, thanks for your help! |
@maxmx03 sorry, I just found another thing I cannot seem to fix. The description part of the autocomplete window still looks like black instead of teal: I tried fixing this by setting
This didn't work. Maybe there's another vim option missing like the |
Fixed in latest commit |
Hello @maxmx03, I found another highlight grouping that I cannot independently update: The changes notification when undoing/redoing is still black instead of teal: This works fine if I set Thanks! |
I guess you're talking about noice.nvim, Maybe there is an option like winblend to fix this. Plugins like Fidget and ToggleTerm have this option: return {
'j-hui/fidget.nvim',
opts = {
notification = {
window = {
normal_hl = 'Comment',
winblend = 0,
},
},
},
}
|
Hello @maxmx03, I found another highlight grouping that I cannot independently update: The lualine context has some separators that are darker than they should: This is the same context using the default colorscheme: Is there a setting I can modify to make that look the same everywhere? I'm using the LazyVim default configuration. Thanks! |
Hi, thanks for the colorscheme!
It's beautiful but there are certain colors that look odd. For example, the current symbol highlight looks like this:
I think this should look light gray.
The autocomplete window looks like this:
I think it should look a different shade kind of teal.
There is no highlighting block in matching brackets:
This is my configuration:
The text was updated successfully, but these errors were encountered: