mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
vim-patch:partial:8.2.4001: insert complete code uses global variables
Problem: Insert complete code uses global variables.
Solution: Make variables local to the file and use accessor functions.
(Yegappan Lakshmanan, closes vim/vim#9470)
d94fbfc74a
Skip changes in comments for callback-related functions (not ported).
Also make compl_busy static again.
This commit is contained in:
@@ -757,7 +757,7 @@ void clearFolding(win_T *win)
|
||||
/// The changes in lines from top to bot (inclusive).
|
||||
void foldUpdate(win_T *wp, linenr_T top, linenr_T bot)
|
||||
{
|
||||
if (disable_fold_update || compl_busy || State & MODE_INSERT) {
|
||||
if (disable_fold_update || State & MODE_INSERT) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user