aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-21 23:43:01 +0200
committerGitHub <noreply@github.com>2019-08-21 23:43:01 +0200
commit86c182c9df5d3504248d36315930e27a5e63abd1 (patch)
treedec795afde71b489a26002d06c840a636bcc705d /src/nvim/edit.h
parentfc12ada4f1f3ca8a1fabae5184d2bdabc33b55a3 (diff)
parent396772c73bc1edb4309bdc10549db652d34f3f91 (diff)
downloadrneovim-86c182c9df5d3504248d36315930e27a5e63abd1.tar.gz
rneovim-86c182c9df5d3504248d36315930e27a5e63abd1.tar.bz2
rneovim-86c182c9df5d3504248d36315930e27a5e63abd1.zip
Merge #10823 from janlazo/vim-8.1.1124
Diffstat (limited to 'src/nvim/edit.h')
-rw-r--r--src/nvim/edit.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/edit.h b/src/nvim/edit.h
index 433a941295..92dab37a70 100644
--- a/src/nvim/edit.h
+++ b/src/nvim/edit.h
@@ -13,6 +13,15 @@
#define CPT_USER_DATA 4 // "user data"
#define CPT_COUNT 5 // Number of entries
+// values for cp_flags
+typedef enum {
+ CP_ORIGINAL_TEXT = 1, // the original text when the expansion begun
+ CP_FREE_FNAME = 2, // cp_fname is allocated
+ CP_CONT_S_IPOS = 4, // use CONT_S_IPOS for compl_cont_status
+ CP_EQUAL = 8, // ins_compl_equal() always returns true
+ CP_ICASE = 16, // ins_compl_equal ignores case
+} cp_flags_T;
+
typedef int (*IndentGetter)(void);
/* Values for in_cinkeys() */