aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memline.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-16 11:50:04 +0800
committerGitHub <noreply@github.com>2023-11-16 11:50:04 +0800
commit931f28841c46015cda70909917b4202e7c746492 (patch)
treed23b36b8043759f345b8ab314d2e6204cb558465 /src/nvim/memline.c
parentbb4b4576e384c71890b4df4fa4f1ae76fad3a59d (diff)
downloadrneovim-931f28841c46015cda70909917b4202e7c746492.tar.gz
rneovim-931f28841c46015cda70909917b4202e7c746492.tar.bz2
rneovim-931f28841c46015cda70909917b4202e7c746492.zip
refactor: remove B_SPELL macro (#26063)
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r--src/nvim/memline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c
index 087661799a..a77e6dc41d 100644
--- a/src/nvim/memline.c
+++ b/src/nvim/memline.c
@@ -334,7 +334,7 @@ int ml_open(buf_T *buf)
// Only works when there's a swapfile, otherwise it's done when the file
// is created.
mf_put(mfp, hp, true, false);
- if (!buf->b_help && !B_SPELL(buf)) {
+ if (!buf->b_help && !buf->b_spell) {
(void)mf_sync(mfp, 0);
}