Today I Learned Quick knowledge bits
If you are ever annoyed by Lazy Vim moving into subrepos
The issue is not in neotree or telescope, but in the lazy vim config. Set the root_spec to { ‘cwd’ }.
The LSP finds patterns in your subfolders (e.g. a package.json) that tells it that it is a valid root. So neo-tree moves into the subfolder and telescope only finds files within that folder.
You can set the vim.g.root_spec = { "cwd" }
to fix this.
It will always remain in the cwd.