[[telescope.nvim]]で、パスを表示するのではなく、ファイルを表示してからディレクトリを後述する方法。
![[Pasted image 20240421120447.png]]
`path_display.filename_first`を設定する。
```lua
require("telescope").setup({
defaults = {
path_display = {
filename_first = {
reverse_directories = false,
},
},
```
## 参考
- [Adds option to reverse path display with highlighting by alycklama · Pull Request \#3010 · nvim\-telescope/telescope\.nvim](https://github.com/nvim-telescope/telescope.nvim/pull/3010)