diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-10-15 20:27:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 20:27:34 +0800 |
commit | 0434f732a696248c24e111b558406f9534db6ca3 (patch) | |
tree | 36000023aca4efa038a3ab068dfb86abf4743f78 /src/nvim/indent.c | |
parent | 1ba9d63d77fd8a3e7560188f608f89444c0ac3b8 (diff) | |
parent | 32ced1f08fd551770b4f4a0fd69dfe2d36c417b6 (diff) | |
download | rneovim-0434f732a696248c24e111b558406f9534db6ca3.tar.gz rneovim-0434f732a696248c24e111b558406f9534db6ca3.tar.bz2 rneovim-0434f732a696248c24e111b558406f9534db6ca3.zip |
Merge pull request #20670 from zeertzjq/vim-9.0.0737
vim-patch:9.0.{partial:0737,0754}: lisp indent fixes
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index 0f7a5a8e44..74249777d6 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -1138,7 +1138,7 @@ static int lisp_match(char_u *p) (void)copy_option_part(&word, (char *)buf, LSIZE, ","); len = (int)STRLEN(buf); - if ((STRNCMP(buf, p, len) == 0) && (p[len] == ' ')) { + if ((STRNCMP(buf, p, len) == 0) && ascii_iswhite_or_nul(p[len])) { return true; } } |