diff options
Diffstat (limited to 'after/plugin/lightbulb.lua')
-rw-r--r-- | after/plugin/lightbulb.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/after/plugin/lightbulb.lua b/after/plugin/lightbulb.lua new file mode 100644 index 0000000..00fcfcc --- /dev/null +++ b/after/plugin/lightbulb.lua @@ -0,0 +1,23 @@ +local status_ok, lightbulb = pcall(require, "nvim-lightbulb") +if not status_ok then + return +end + +lightbulb.setup { + sign = { + enabled = true, + priority = 10000, -- make this really high so it always shows + }, + autocmd = { + enabled = true, + pattern = {"*"}, + events = {"CursorHold", "CursorHoldI"} + } +} + +vim.fn.sign_define('LightBulbSign', { + text = "f", + texthl = "LightBulbSignTxthl", + linehl="", + numhl="", +}) |