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
I followed the instructions for the minimal quickstart but found that after installation, the command :Neotree is not recognized.
Environment:
nvim
nvchad
Lazy
I added the following lines to my init.lua
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
}
}
Restarted neovim and can see that the installation was successfull
However if i run the command :Neotree, i get the following error:
E492 : Not an editor command: Neotree
I did manage to resolve it by adding the command option in my configuration as shown below
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
cmd = "Neotree",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
}
},
Does this mean the the instructions for the minimal quickstart are incorrect or i did something wrong in the steps i followed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I followed the instructions for the minimal quickstart but found that after installation, the command :Neotree is not recognized.
Environment:
I added the following lines to my init.lua
Restarted neovim and can see that the installation was successfull
However if i run the command :Neotree, i get the following error:
E492 : Not an editor command: Neotree
I did manage to resolve it by adding the command option in my configuration as shown below
Does this mean the the instructions for the minimal quickstart are incorrect or i did something wrong in the steps i followed?
Beta Was this translation helpful? Give feedback.
All reactions