diff options
| author | Jackson Ludwig <42984254+jacksonludwig@users.noreply.github.com> | 2026-05-14 20:23:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-14 20:23:39 -0400 |
| commit | 1e09b020e57f203636bdf1199eb1bc8bb2d364a4 (patch) | |
| tree | 0f018b6ccfc2237062b595842cb9a607a746c52c /test/functional/vimscript/executable_spec.lua | |
| parent | 70c328929060c930d894786bdcf5bd782ca4cf16 (diff) | |
| download | rneovim-1e09b020e57f203636bdf1199eb1bc8bb2d364a4.tar.gz rneovim-1e09b020e57f203636bdf1199eb1bc8bb2d364a4.tar.bz2 rneovim-1e09b020e57f203636bdf1199eb1bc8bb2d364a4.zip | |
fix(difftool): handle filenames containing spaces #39740
Problem:
Using the `DiffTool` plugin (e.g. through `nvim -d ...` or `:DiffTool
<file1> <file2>` fails if a space is in one of the paths. This occurs
because the `diff` wraps the paths with quotes (`'`) if space
characters are present, which the line diff regex fails to parse.
Solution:
Update regex to handle quoted paths by matching the string within the
quotes, if it exists.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions