aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.h
diff options
context:
space:
mode:
authorShougo <Shougo.Matsu@gmail.com>2018-02-19 07:56:59 +0900
committerJustin M. Keyes <justinkz@gmail.com>2018-02-18 23:56:59 +0100
commit00665d3c701ef1b6b276f750a772a6aa8a42c8c1 (patch)
treed144bc9824f698909fe651451fed38bbbd752f36 /src/nvim/edit.h
parenteccd60aaf4ebc445d45e51a73d0807242e496a6a (diff)
downloadrneovim-00665d3c701ef1b6b276f750a772a6aa8a42c8c1.tar.gz
rneovim-00665d3c701ef1b6b276f750a772a6aa8a42c8c1.tar.bz2
rneovim-00665d3c701ef1b6b276f750a772a6aa8a42c8c1.zip
vim-patch:8.0.1493: completion items cannot be annotated (#8003)
Problem: Completion items cannot be annotated. Solution: Add a "user_data" entry to the completion item. (Ben Jackson, coses vim/vim#2608, closes vim/vim#2508) https://github.com/vim/vim/commit/9b56a57cdae31f7a2c85d440392bf63d3253a158
Diffstat (limited to 'src/nvim/edit.h')
-rw-r--r--src/nvim/edit.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/nvim/edit.h b/src/nvim/edit.h
index 0d61f26bcc..433a941295 100644
--- a/src/nvim/edit.h
+++ b/src/nvim/edit.h
@@ -6,11 +6,12 @@
/*
* Array indexes used for cptext argument of ins_compl_add().
*/
-#define CPT_ABBR 0 /* "abbr" */
-#define CPT_MENU 1 /* "menu" */
-#define CPT_KIND 2 /* "kind" */
-#define CPT_INFO 3 /* "info" */
-#define CPT_COUNT 4 /* Number of entries */
+#define CPT_ABBR 0 // "abbr"
+#define CPT_MENU 1 // "menu"
+#define CPT_KIND 2 // "kind"
+#define CPT_INFO 3 // "info"
+#define CPT_USER_DATA 4 // "user data"
+#define CPT_COUNT 5 // Number of entries
typedef int (*IndentGetter)(void);