telescope.nvim
telescope.nvim copied to clipboard
let telescope only choose one path for both opening folder or file
When I do this:
$ cd /path/to/project
$ nvim ./path/to/sub/folder
Then telescope.nvim would search only in /path/to/project/path/to/sub/foler.
However, when I do this:
$ cd /path/to/project
$ nvim ./path/to/sub/folder/file.cpp
Then telescope.nvim will search in /path/to/project which is expected.
Do you know how could I align the behavior to let telescope.nvim always search in the path where I run the command of nvim?