forked from ThePrimeagen/git-worktree.nvim
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Just switched to Lazyvim and can't seem to get this plugin to work as expected. Worked great on Astronvim just fine.
This is the setup:
{
'polarmutex/git-worktree.nvim',
version = '^2',
dependencies = { "nvim-lua/plenary.nvim" },
enabled = true,
config = function ()
require('telescope').load_extension('git_worktree')
vim.keymap.set( "n", "W", function ()
require("telescope").extensions.git_worktree.git_worktrees()
end, { desc = "Worktrees" })
end
},
Throws this:
E5108: Error executing lua: /Users/[user]/.config/nvim/lua/plugins/core.lua:52: attempt to call field 'git_worktrees' (a nil value)
stack traceback:
/Users/[user]/.config/nvim/lua/plugins/core.lua:52: in function </Users/[user]/.config/nvim/lua/plugins/core.lua:51>
Any thoughts on how to get it working with Lazyvim?
Metadata
Metadata
Assignees
Labels
No labels