Replies: 1 comment
-
|
Are you returning that table? https://www.lazyvim.org/configuration/plugins#-adding-plugins |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just switched to Lazy and can't seem to get Git Worktree plugin to work as expected.
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?
Beta Was this translation helpful? Give feedback.
All reactions