1

I found a very useful file browsing plugin: nvim-tree

But I think this plugin can also add a template function to create files using templates.

I'd like to develop this functionality myself, but I'm running into a plugin debugging problem.

I want to use the original functionality of this plugin before the new functionality is developed. I have installed it via packer.vim.

I forked it on github and cloned it to /hom/user/Project/nvim-tree.lua.

I found that every time I want to debug this plugin, lua's require function will always look for modules from /home/user/.local/share/nvim and will not use my modified modules.

How can I solve this problem?

I have very little experience with neovim or vim plugin development, especially about debugging. If you can teach me, I will be very grateful.

aszswaz
  • 187
  • 1
  • 5

0 Answers0