-
Notifications
You must be signed in to change notification settings - Fork 162
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
Breaks folke/noice.nvim #148
Comments
Looks like this works around the issue for now: |
Seems like there is not a plugin specific highlight group for this component, so this issue can't be fixed in color scheme level ( |
This is very similar to sainnhe/everforest#88 I agree, it would be a better (and very common) design from the plugin to set its own highlight groups and link them to core groups by default, instead of using the core groups directly. (cc. @folke) As explained in nvim-lualine/lualine.nvim#836, most IDEs use underline/undercurl to highlight diagnostic hints and issues, so it can be expected from (Neo)vim themes to adopt that styling too. |
Update: looks like Noice now defaults to its own highlight groups 🎉 (folke/noice.nvim#46) The description of all built-in highlight groups is here: https://github.com/folke/noice.nvim/blob/d45fd10/README.md#-highlight-groups @Integralist have you tried with the latest version? It would be nice to get feedback from an actual user to know whether or not we need to add explicit highlights for this plugin 🙂 |
@antoineco hi, yes I'm setting the highlight groups myself here: https://github.com/Integralist/dotfiles/blob/main/.config/nvim/lua/plugins/colorschemes.lua#L12-L32 |
I have done the following steps before reporting this issue:
Operating system/version
macOS Monterey 12.6
Terminal emulator/version
Alacritty
$TERM environment variable
xterm-256color
Tmux version
I'm using Zellij
Feature matrix
Minimal vimrc that can reproduce this bug.
Steps to reproduce this bug using minimal vimrc
nvim -u /tmp/minimal.lua
.:colorscheme gruvbox-material
(optional::set background=dark
, it breaks in light and dark).Expected behavior
The UI for 'Noice' should render like:
Actual behavior
But switching to this colorscheme breaks it like so:
The text was updated successfully, but these errors were encountered: