Missing indent line and reoccurring message regarding “nvim_tree_gitignore” keep persisting after update
mondenoir opened this issue · comments
After a recent update, “nvim-tree” began the following 2 odd phenomenons:
- A Reoccurring message pops up every single time I load up Noevim
- The most outer indent line is missing and cursor is now hovering over the icon instead
I tried to troubleshoot by doing the following to no avail:
- Updated Neovim to nightly 0.6.0
- Removing any “nvim_tree_gititgore” related options in my config file which is very minimal
Has anyone encounter these problems after recent update? If so, please kindly share your solution.
remove all nvim_tree_gitignore
which is now set in git = { ignore = true|false }
in the setup call
@kyazdani42 Thanks for the reply. I've added git = { ignore = true|false }
to my config file as followed:
The same message still persist after restart along with the missing outer indent-line. More so, I've also try uninstalling/installing to no avail as well. Any idea why this is happening?
did you remove the option nvim_tree_gitignore
from your config ? Maybe if you are using something like packer, run PackerCompile
?
I truly appreciate your reply kyazdani42
and believe me I've tried everything including PackerCompile
, uninstalling/installing, an empty config file, but the message always appears. It just puzzles me as to why the message would even appear if my config file is empty. You've made a great plugin but I guess I just have to use it as is for now
this might be loaded somewhere in your config i guess. Try to :let g:nvim_tree_gitignore
and see if it returns something, if it does, you still have this option somewhere in your config
You are right kyazdani42 the command you recommended did return something and I was able to track it down and resolve the error message issue :) Now, I just have to figure out how to resolve the indent line problem:
After some digging, I was able to get the indent line back by swapping the following file: lua/nvim-tree/renderer/init.lua
to the previous version. There were 7 changes made on the current version located on line 106, 167, 183, 244, 385, 386, and 387,. I've try commenting out those lines but to no avail. Nonetheless, I want to sincerely thank you for your replies and it's just very rare to have a creator of a plugin, that's so widely use, be so responsive to its users 🙏🙏🙏
not sure i understand the second part of your message (stuff about swapping file ?), but thanks for the kind words anyway :)