Open MikeOlsen opened 2 years ago
You can disable this by redefining the MarkSignNumHL
Highlight group.
Here's a snippet that fixes the issue:
local group = vim.api.nvim_create_augroup("marks-fix-hl", {})
vim.api.nvim_create_autocmd({ "VimEnter" }, {
group = group,
callback = function()
vim.api.nvim_set_hl(0, "MarkSignNumHL", {})
end,
})
You can put it anywhere in your config and it'll remove the highlight group entirely. This also fixes an issue of MarkSignNumHL
overriding CursorLineNr
when the cursor is on the same line as the mark. I hope it helps!
Hi,
I would like to disable the highlighting around the line numbers.
The highlighting appears with gruvbox colorscheme.
Neovim version: