We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f920cf commit 5f795adCopy full SHA for 5f795ad
2 files changed
lua/lspsaga/codeaction/lightbulb.lua
@@ -100,6 +100,12 @@ local function lb_autocmd()
100
if not client.supports_method('textDocument/codeAction') then
101
return
102
end
103
+ if vim.tbl_contains(config.lightbulb.ignore.clients, client.name) then
104
+ return
105
+ end
106
+ if vim.tbl_contains(config.lightbulb.ignore.ft, vim.bo.filetype) then
107
108
109
110
local buf = opt.buf
111
local group_name = name .. tostring(buf)
lua/lspsaga/init.lua
@@ -60,6 +60,10 @@ local default_config = {
60
sign_priority = 40,
61
virtual_text = true,
62
enable_in_insert = true,
63
+ ignore = {
64
+ clients = {},
65
+ ft = {},
66
+ },
67
},
68
scroll_preview = {
69
scroll_down = '<C-f>',
0 commit comments