aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fold.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-05-22 07:27:26 +0800
committerGitHub <noreply@github.com>2022-05-22 07:27:26 +0800
commitf0717ffade6a36c1e5aa85214f6667e384abc169 (patch)
tree64be896cd8b9db3e25bbe29fa7f416d6acc3ef43 /src/nvim/fold.h
parentcbf0360179fa5a5045005bc2be0b270f97f3bb23 (diff)
parentc3568b31f423b8af11be155f6fdb7b464a519fd2 (diff)
downloadrneovim-f0717ffade6a36c1e5aa85214f6667e384abc169.tar.gz
rneovim-f0717ffade6a36c1e5aa85214f6667e384abc169.tar.bz2
rneovim-f0717ffade6a36c1e5aa85214f6667e384abc169.zip
Merge pull request #18682 from zeertzjq/vim-8.1.0535
vim-patch:8.1.0535,8.2.4991: increment/decrement might get interrupted by updating folds
Diffstat (limited to 'src/nvim/fold.h')
-rw-r--r--src/nvim/fold.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/fold.h b/src/nvim/fold.h
index 6b29214760..60ea4b322e 100644
--- a/src/nvim/fold.h
+++ b/src/nvim/fold.h
@@ -23,6 +23,7 @@ typedef struct foldinfo {
#define FOLDINFO_INIT { 0, 0, 0, 0 }
+EXTERN int disable_fold_update INIT(= 0);
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "fold.h.generated.h"