Option to disable highligthed line numbering
MikeOlsen opened this issue · 2 comments
MikeOlsen commented
chentoast commented
You can disable this by redefining the MarkSignNumHL
Highlight group.
alexmozaidze commented
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!