feat(options)!: remove compatible behaviours for vim 5.0 and earlier

This commit is contained in:
Lewis Russell
2023-07-17 14:27:21 +01:00
committed by GitHub
parent 98b22867c3
commit 881d17a113
11 changed files with 83 additions and 144 deletions

View File

@@ -847,7 +847,7 @@ static void expand_path_option(char *curdir, garray_T *gap)
char *buf = xmalloc(MAXPATHL);
while (*path_option != NUL) {
copy_option_part(&path_option, buf, MAXPATHL, " ,");
copy_option_part(&path_option, buf, MAXPATHL, ",");
if (buf[0] == '.' && (buf[1] == NUL || vim_ispathsep(buf[1]))) {
// Relative to current buffer: