aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/textformat.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-02 13:15:16 +0800
committerGitHub <noreply@github.com>2024-08-02 13:15:16 +0800
commit76dea5feaa1ab3f2e987ac3ff35238f8e29f2242 (patch)
tree075b4793350d5bef55da000f89d75d90ecfc7c7e /src/nvim/textformat.c
parent48e4589eaded3213956aa9ddbcc0aa6971a974e5 (diff)
parent99bb0a10d3400ee8b9b2773d51a957dacbf52b33 (diff)
downloadrneovim-76dea5feaa1ab3f2e987ac3ff35238f8e29f2242.tar.gz
rneovim-76dea5feaa1ab3f2e987ac3ff35238f8e29f2242.tar.bz2
rneovim-76dea5feaa1ab3f2e987ac3ff35238f8e29f2242.zip
Merge pull request #29951 from zeertzjq/vim-9.0.0632
vim-patch:9.0.{0632,0634,0635},9.1.0649
Diffstat (limited to 'src/nvim/textformat.c')
-rw-r--r--src/nvim/textformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/textformat.c b/src/nvim/textformat.c
index 13607da043..96907362dd 100644
--- a/src/nvim/textformat.c
+++ b/src/nvim/textformat.c
@@ -869,7 +869,7 @@ int fex_format(linenr_T lnum, long count, int c)
if (use_sandbox) {
sandbox++;
}
- int r = (int)eval_to_number(fex);
+ int r = (int)eval_to_number(fex, true);
if (use_sandbox) {
sandbox--;
}