josean-dev / dev-environment-files

2.64k stars 740 forks source link

how to turn off this light bulb #4

Closed oldqin97 closed 1 year ago

oldqin97 commented 1 year ago
image
jeantimex commented 1 year ago

The light bulbs come with LSP Saga, you can disable them in lspsaga.lua like so:

...
saga.init_lsp_saga({
  ...
  -- disable code action lightbulb
  code_action_lightbulb = {
    enable = false,
  },
})

See https://github.com/glepnir/lspsaga.nvim. Hope that works for you.

oldqin97 commented 1 year ago

Thank you, This problem has bothered me for days 🤗