Files
telescope.nvim/lua
James TrewandSimon Hauser 2e5f7ae754 fix(builtin.buffers): previews with specified cwd option (#3111)
Currently, the buffer name is normalized to the `cwd` option value.
This buffer name is then used as the filename, which is used as the file
path for the previewer. But if the `cwd` value is not the actual cwd,
the buffer path can no longer be found by the previewer (relative to the
true cwd).

This is fixed by adding a `path` value to the entry that's the full path
of the buffer. The previewer will then use this full path to find the
file to preview.

(cherry picked from commit ccaeeb5af5)
2024-05-20 11:40:50 +02:00
..