mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
vim-patch:8.1.0535: increment/decrement might get interrupted by updating folds
Problem: Increment/decrement might get interrupted by updating folds.
Solution: Disable fold updating for a moment. (Christian Brabandt,
closes vim/vim#3599)
6b731886ca
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user