mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
vim-patch:7.4.2071
Problem: The return value of type() is difficult to use.
Solution: Define v:t_ constants. (Ken Takata)
f562e72df7
This commit is contained in:
@@ -123,6 +123,14 @@ Error: configure did not run properly.Check auto/config.log.
|
||||
#define FAIL 0
|
||||
#define NOTDONE 2 /* not OK or FAIL but skipped */
|
||||
|
||||
// Type values for type().
|
||||
#define VAR_TYPE_NUMBER 0
|
||||
#define VAR_TYPE_STRING 1
|
||||
#define VAR_TYPE_FUNC 2
|
||||
#define VAR_TYPE_LIST 3
|
||||
#define VAR_TYPE_DICT 4
|
||||
#define VAR_TYPE_FLOAT 5
|
||||
#define VAR_TYPE_BOOL 6
|
||||
|
||||
/*
|
||||
* values for xp_context when doing command line completion
|
||||
|
Reference in New Issue
Block a user