mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
leap-ast, lightbulb
This commit is contained in:
parent
2d73335e8f
commit
b4cb757aa9
2 changed files with 18 additions and 0 deletions
11
lua/plugins/leap-ast.lua
Normal file
11
lua/plugins/leap-ast.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
return {
|
||||||
|
"jul-o/leap-ast.nvim",
|
||||||
|
-- dir = '~/projects/nvim-plugins/leap-ast.nvim',
|
||||||
|
dependencies = {
|
||||||
|
"ggandor/leap.nvim",
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
vim.keymap.set({ "n", "x", "o" }, "<leader>s", require("leap-ast").leap, { desc = "Leap AST" })
|
||||||
|
end,
|
||||||
|
}
|
||||||
7
lua/plugins/lightbulb.lua
Normal file
7
lua/plugins/lightbulb.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
return {
|
||||||
|
"kosayoda/nvim-lightbulb",
|
||||||
|
dependencies = "antoinemadec/FixCursorHold.nvim",
|
||||||
|
config = function()
|
||||||
|
vim.cmd([[autocmd CursorHold,CursorHoldI * lua require('nvim-lightbulb').update_lightbulb()]])
|
||||||
|
end,
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue