Skip to content

Commit

Permalink
lightbulb autocmd as part of setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodal98 committed Feb 28, 2022
1 parent 223e617 commit 8dd592a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/custom/autocmds.lua
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
vim.cmd [[autocmd CursorHold,CursorHoldI * lua require'nvim-lightbulb'.update_lightbulb()]]
3 changes: 3 additions & 0 deletions lua/custom/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ return {
{
"kosayoda/nvim-lightbulb",
after = "nvim-lspconfig",
config = function()
vim.cmd [[autocmd CursorHold,CursorHoldI * lua require'nvim-lightbulb'.update_lightbulb()]]
end,
},

{
Expand Down

0 comments on commit 8dd592a

Please sign in to comment.