nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.41k stars 287 forks source link

Hide this Bulb? #1390

Closed niksingh710 closed 6 months ago

niksingh710 commented 7 months ago

image i want it to come when i am on the line not always.

Originally posted by @niksingh710 in https://github.com/nvimdev/lspsaga.nvim/discussions/1375

darricheng commented 6 months ago

Which bulb are you referring to? The one at the line number column or at the closing brace of the struct?

niksingh710 commented 6 months ago

Which bulb are you referring to? The one at the line number column or at the closing brace of the struct?

to be exact the on } one but if possible would like to hide both.

darricheng commented 6 months ago

Did you checkout the docs for the config options?

You can do the following:

require('lspsaga').setup {
  lightbulb = {
    enable = false, -- disables both
    virtual_text = false, -- disables just the one at the end of the line
  },
}
niksingh710 commented 6 months ago
lightbulb = {
    enable = false, -- disables both
    virtual_text = false, -- disables just the one at the end of the line
  },

Sorry for late response, I was AFK. I can ensure that this works and thanks a lot. it was hard to find in documentation.