Skip to content

How do I remove the background highlighting from the linenumber column? #344

Answered by natemccurdy
rew1nter asked this question in Q&A
Discussion options

You must be logged in to vote

Set the CursorLineNr highlight group's background to empty.

For example, when using lazy.nvim, you'd set this in config for the plugin:

return {
  {
    "ellisonleao/gruvbox.nvim",
    config = function()
      require("gruvbox").setup({
        overrides = {
          CursorLineNr = { bg = "" },
        },
      })
    end,
  },
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rew1nter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants