From 5efcefee8703a8d1d3c33e0773d3e234e42a2293 Mon Sep 17 00:00:00 2001 From: Michael Ennen Date: Mon, 21 Nov 2016 23:04:02 -0700 Subject: vim-patch:7.4.2071 Problem: The return value of type() is difficult to use. Solution: Define v:t_ constants. (Ken Takata) https://github.com/vim/vim/commit/f562e72df726c6191fa305e1c0a113f1cfb87f76 --- src/nvim/eval.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/nvim/eval.h') diff --git a/src/nvim/eval.h b/src/nvim/eval.h index 1061840816..cc7827b801 100644 --- a/src/nvim/eval.h +++ b/src/nvim/eval.h @@ -127,6 +127,13 @@ typedef enum { VV__NULL_LIST, // List with NULL value. For test purposes only. VV__NULL_DICT, // Dictionary with NULL value. For test purposes only. VV_VIM_DID_ENTER, + VV_TYPE_NUMBER, + VV_TYPE_STRING, + VV_TYPE_FUNC, + VV_TYPE_LIST, + VV_TYPE_DICT, + VV_TYPE_FLOAT, + VV_TYPE_BOOL, } VimVarIndex; /// All recognized msgpack types -- cgit