aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-25 11:17:29 +0800
committerGitHub <noreply@github.com>2022-08-25 11:17:29 +0800
commitee02141c7b8a2dd1a87fe4bfc743f39750c99249 (patch)
tree0eb53db012b149e0db32770473187f2bec10ce76 /src/nvim/globals.h
parent674d3b2d5f5f7ade20cbd88ed64d63a80bb7b302 (diff)
parentb1833bb33b49a26e7552548e3541ac1480fee452 (diff)
downloadrneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.tar.gz
rneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.tar.bz2
rneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.zip
Merge pull request #19937 from zeertzjq/vim-8.2.3942
vim-patch:8.2.{3942,partial:4001}
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index 67cd21e172..67b113849c 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -159,27 +159,6 @@ EXTERN colnr_T dollar_vcol INIT(= -1);
// Variables for Insert mode completion.
-// Length in bytes of the text being completed (this is deleted to be replaced
-// by the match.)
-EXTERN int compl_length INIT(= 0);
-
-// Set when doing something for completion that may call edit() recursively,
-// which is not allowed. Also used to disable folding during completion
-EXTERN bool compl_busy INIT(= false);
-
-// List of flags for method of completion.
-EXTERN int compl_cont_status INIT(= 0);
-#define CONT_ADDING 1 // "normal" or "adding" expansion
-#define CONT_INTRPT (2 + 4) // a ^X interrupted the current expansion
- // it's set only iff N_ADDS is set
-#define CONT_N_ADDS 4 // next ^X<> will add-new or expand-current
-#define CONT_S_IPOS 8 // next ^X<> will set initial_pos?
- // if so, word-wise-expansion will set SOL
-#define CONT_SOL 16 // pattern includes start of line, just for
- // word-wise expansion, not set for ^X^L
-#define CONT_LOCAL 32 // for ctrl_x_mode 0, ^X^P/^X^N do a local
- // expansion, (eg use complete=.)
-
EXTERN char_u *edit_submode INIT(= NULL); // msg for CTRL-X submode
EXTERN char_u *edit_submode_pre INIT(= NULL); // prepended to edit_submode
EXTERN char_u *edit_submode_extra INIT(= NULL); // appended to edit_submode