nvim
nvim copied to clipboard
Comments and Virtual Text same color
Description
As you can see in this screenshot, the color of the comments, LSP virtual text, and Copilot suggestions virtual text is all the same, which makes it pretty confusing. Is it possible to change one of these to a different color? Otherwise are there any suggestions to improve the readability of this?
I'm using macciatto with the config from LazyVim:
{
"catppuccin/nvim",
lazy = true,
name = "catppuccin",
opts = {
flavour = "macchiato",
integrations = {
aerial = true,
alpha = true,
cmp = true,
dashboard = true,
flash = true,
gitsigns = true,
headlines = true,
illuminate = true,
indent_blankline = { enabled = true },
leap = true,
lsp_trouble = true,
mason = true,
markdown = true,
mini = true,
native_lsp = {
enabled = true,
underlines = {
errors = { "undercurl" },
hints = { "undercurl" },
warnings = { "undercurl" },
information = { "undercurl" },
},
},
navic = { enabled = true, custom_bg = "lualine" },
neotest = true,
neotree = true,
noice = true,
notify = true,
semantic_tokens = true,
telescope = true,
treesitter = true,
treesitter_context = true,
which_key = true,
},
},
},
Neovim version
NVIM v0.10.0-dev-2501+gdbf6be296-Homebrew
Build type: Release
LuaJIT 2.1.1703358377
Terminal and multiplexer
alacritty 0.13.1 with tmux 3.4
Catppuccin version / branch / rev
"catppuccin": { "branch": "main", "commit": "045e3499d9ec8d84635fb08877ae44fd33f6a38d" },
Steps to reproduce
write a comment, get an LSP virtual suggestion open, and start copilot
Expected behavior
being able to visually tell the difference between the 3 (or at least 2)
Actual behavior
all 3 look the same and can't tell them apart
Repro
No response
I took your config but it looks normal:
What plugin are you using to display copilot suggestions?
Here are my configs: https://github.com/uthmanmoh/nvim
I wonder if it's because of a different terminal font? Which font are you using? I'm using the Jetbrains Mono Nerd Font
I am using Source Code Pro.
But I don't think this is related to the font. Can you try a different terminal or try it outside of tmux?
Is the problem still unresolved? I suppose this isn't caused by this colorscheme b/c these highlights are colored differently. If it is, try to check your plugins (cmp, copilot, etc), and check what it look like in the default colorscheme.
I'm going to close this as the screenshot at your Neovim dotfiles repo looks pretty normal, but feel free to re-open :smile:
Yeah maybe it has to do with something else I'm not too sure. It's fine to resolve for now though thanks