Neovim-from-scratch
Neovim-from-scratch copied to clipboard
:Telescope find_files in combination with nvim-tree crashes nvim when opening a directory (nvim dir)
Steps to reproduce:
- nvim "any dir"
- :Telescope find_files
- choose any file and hit enter
nvim crashes quietly when there is no buffer yet. No errors in .cache/nvim/log When you toggle off nvim-tree (a buffer is created), find_files does not crash nvim anymore.
How can we / I solve this?
Hey! Not sure if you're talking of this error (link). I'm using treesitter @ commit 518e2 and telescope @ commit d96ea and :TSUpdate fixed my problem
Hey man, i made a short video (15sec) to show what I am talking about: https://storage.siblanco.dev/nvimcrash.mp4
- on first open, I toggle :Telescope find_files and enter on style.css -> nvim crashes
- on second open, I toggle Nvim-Tree and then do :Telescope find_files, now it works
Hey man, i made a short video (15sec) to show what I am talking about: https://storage.siblanco.dev/nvimcrash.mp4
- on first open, I toggle :Telescope find_files and enter on style.css -> nvim crashes
- on second open, I toggle Nvim-Tree and then do :Telescope find_files, now it works
Same problem did you find any solution?
@sleaper I am not using nvim-tree anymore, switched to telescope file browser if one is really needed.
best advice I can give you here: do not nvim the directory, cd into the directory before and then simply call nvim
in there. That fixed many quirks for me...not sure if it fixed the nvimtree bug aswell, i think it did.
FYI I am experiencing the same behavior as the video with a different configuration:
- nvim-tree is not installed (NeoTreee instead)
- am not even using LunarVim (I navigated to this issue by happenstance)
- cd into a directory and calling
nvim
from there makes no difference, I still crash
Edit
Fixed by reinstalling neovim