You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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:
Throws this:
Any thoughts on how to get it working with Lazyvim?
The text was updated successfully, but these errors were encountered: