diff options
author | Leonardo Mello <lsvmello@gmail.com> | 2023-10-09 19:08:58 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 06:08:58 +0800 |
commit | 81f67b79e8a307a45a996dbeee0213c7745aa358 (patch) | |
tree | a1c309ce8227ebe13203ad4f6b305ce8cdc0997f /src/nvim/file_search.c | |
parent | 4ab2b43c8fd73e6fcbf12bdb135194c534cc4886 (diff) | |
download | rneovim-81f67b79e8a307a45a996dbeee0213c7745aa358.tar.gz rneovim-81f67b79e8a307a45a996dbeee0213c7745aa358.tar.bz2 rneovim-81f67b79e8a307a45a996dbeee0213c7745aa358.zip |
fix(file_search): path with spaces in finddir() and findfile() (#25493)
Co-authored-by: dundargoc <gocdundar@gmail.com>
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r-- | src/nvim/file_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index 7a46341797..796d66f74c 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -1468,7 +1468,7 @@ char *find_file_in_path_option(char *ptr, size_t len, int options, int first, ch // copy next path buf[0] = 0; - copy_option_part(&dir, buf, MAXPATHL, ","); + copy_option_part(&dir, buf, MAXPATHL, " ,"); // get the stopdir string r_ptr = vim_findfile_stopdir(buf); |