Neovim/lua/plugins/lightbulb.lua

26 lines
792 B
Lua
Raw Normal View History

2024-05-12 17:38:26 +00:00
return {
{
"kosayoda/nvim-lightbulb",
opts = {
autocmd = { enabled = true },
sign = {
enabled = false,
},
float = {
enabled = true,
-- Text to show in the floating window.
text = "💡",
-- Highlight group to highlight the floating window.
hl = "LightBulbFloatWin",
-- Window options.
-- See |vim.lsp.util.open_floating_preview| and |nvim_open_win|.
-- Note that some options may be overridden by |open_floating_preview|.
win_opts = {
2024-05-16 22:30:15 +00:00
focusable = true,
border = "none",
2024-05-12 17:38:26 +00:00
},
},
},
},
}