From 9e694c03721af13a31aedbfc365203cf66b370b4 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 26 Jun 2023 11:35:24 -0400 Subject: add plugin configs & mess with the binds --- after/plugin/lightbulb.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 after/plugin/lightbulb.lua (limited to 'after/plugin/lightbulb.lua') 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="", +}) -- cgit v1.2.1