-- vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
print('packer in ...')
-- Packer can manage itself
use 'wbthomason/packer.nvim'
-- File tree
use 'nvim-tree/nvim-tree.lua'
end)
### Actual behaviour
no :NvimTreeToggle command
print('packer in ...') is executed in plugins.lua
### Expected behaviour
after execute nvim command, i want to see :NvimTreeToggle and other nvim-tree command.
### packer files
<details>
<summary>Plugin specification file(s)</summary>
Post or link your plugin specification files here, if you aren't able to provide a minimal
reproducer
</details>
<details>
<summary>packer log file</summary>
Post the contents of ~/.cache/nvim/packer.nvim.log here
</details>
<details>
<summary>packer compiled file</summary>
Post the contents of `packer_compiled.vim` here
</details>
nvim --version
: 0.9git --version
: 2.39.2Steps to reproduce
~/.config/nvim/lua/plugins.lua
end)
no :NvimTreeToggle command print('packer in ...') is executed in plugins.lua
after execute nvim command, i want to see :NvimTreeToggle and other nvim-tree command.