vim-gitgutter icon indicating copy to clipboard operation
vim-gitgutter copied to clipboard

cursorline highlighting doesn't work with gitgutter

Open m-deg opened this issue 1 year ago • 2 comments

I have cursorline hightlight like below. Unfortunately, this highlighting breaks when i move cursor to lines that are changed.

  local enterNormal = function()
    vim.opt.cursorline = true
    vim.cmd("highlight CursorLine guibg=#7d352f guifg=fg") --
  end
  local enterInsert = function()
    vim.opt.cursorline = false
  end

m-deg avatar Jan 31 '24 23:01 m-deg

I'm not sure what you mean by "this highlighting breaks" – please could you give some more details?

As an aside, I would move highlight CursorLine guibg=#7d352f guifg=fg out of your function and into your general config, after you set your colorscheme.

airblade avatar Feb 02 '24 11:02 airblade

Any updates?

airblade avatar Feb 07 '24 08:02 airblade

Closing because it's gone quiet.

airblade avatar Apr 15 '24 11:04 airblade