From 4171f190f2fefb7b9ab3c4f095e957c09f3a46f8 Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 5 Nov 2024 21:46:43 +0100 Subject: [PATCH] Add plugin nvim-lightbulb to hint code actions --- lua/plugin_specs.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/plugin_specs.lua b/lua/plugin_specs.lua index 93499876..0dc3a1a2 100644 --- a/lua/plugin_specs.lua +++ b/lua/plugin_specs.lua @@ -573,6 +573,14 @@ local plugin_specs = { end, event = "VeryLazy", }, + { + -- show hint for code actions, the user can also implement code actions themselves, + -- see discussion here: https://github.com/neovim/neovim/issues/14869 + "kosayoda/nvim-lightbulb", + config = function() + require("nvim-lightbulb").setup { autocmd = { enabled = true } } + end, + }, } require("lazy").setup {