aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-05-15 01:18:33 +0200
committerGitHub <noreply@github.com>2024-05-15 07:18:33 +0800
commit7acf39ddab8ebdb63ebf78ec980149d20783fd4b (patch)
tree90bd4d1b3aa6b9c8e340a3f825651eb3ac47071e /src/nvim/path.c
parentb83d5fabc6cbe08867b933958de7df7d3917247b (diff)
downloadrneovim-7acf39ddab8ebdb63ebf78ec980149d20783fd4b.tar.gz
rneovim-7acf39ddab8ebdb63ebf78ec980149d20783fd4b.tar.bz2
rneovim-7acf39ddab8ebdb63ebf78ec980149d20783fd4b.zip
docs: misc (#28609)
Closes https://github.com/neovim/neovim/issues/28484. Closes https://github.com/neovim/neovim/issues/28719. Co-authored-by: Chris <crwebb85@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Jake B <16889000+jakethedev@users.noreply.github.com> Co-authored-by: Jonathan Raines <jonathan.s.raines@gmail.com> Co-authored-by: Yi Ming <ofseed@foxmail.com> Co-authored-by: Zane Dufour <zane@znd4.me> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index 251051a4ac..f7e8b2b65c 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -999,7 +999,7 @@ static void uniquefy_paths(garray_T *gap, char *pattern)
memmove(path, path_cutoff, strlen(path_cutoff) + 1);
} else {
// Here all files can be reached without path, so get shortest
- // unique path. We start at the end of the path. */
+ // unique path. We start at the end of the path.
char *pathsep_p = path + len - 1;
while (find_previous_pathsep(path, &pathsep_p)) {
if (vim_regexec(&regmatch, pathsep_p + 1, 0)