aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-08 22:33:21 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-08 22:36:20 -0400
commit0d0eeff8a34b01db93fb271fbeac3ad2d372a0e0 (patch)
tree9ad6ef39f8578c2c22bd0cf3ddd5afeb18bcd9c1 /src/nvim/eval.h
parentec273a2c6ba055810539f2d58353c9c0fc8db320 (diff)
downloadrneovim-0d0eeff8a34b01db93fb271fbeac3ad2d372a0e0.tar.gz
rneovim-0d0eeff8a34b01db93fb271fbeac3ad2d372a0e0.tar.bz2
rneovim-0d0eeff8a34b01db93fb271fbeac3ad2d372a0e0.zip
eval: add v:_null_string
Replacement for Vim's test_null_string(). Vim uses it to verify that its codebase handles null strings. Preparation for the Test_null_list() in patch v8.2.1822. Use v:_null_string, not non-existent env var, for null string tests. Mention v:_null_string in id() because id(v:_null_string) returns (nil).
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r--src/nvim/eval.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index c681660771..a62d87fcc4 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -158,6 +158,7 @@ typedef enum {
// Neovim
VV_STDERR,
VV_MSGPACK_TYPES,
+ VV__NULL_STRING, // String with NULL value. For test purposes only.
VV__NULL_LIST, // List with NULL value. For test purposes only.
VV__NULL_DICT, // Dictionary with NULL value. For test purposes only.
VV_LUA,