aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-27 22:56:05 +0200
committerGitHub <noreply@github.com>2019-07-27 22:56:05 +0200
commit8e6b0a73c91bb8650e21f56183c7fa83f6fb312f (patch)
treeac70d41d2179452b01fd618afeb6d0e39be26576 /src/nvim/eval.h
parent0e23ee3cc77960f5348dfa6eeb56e97432019126 (diff)
parentb6278bbf12dd4946095b76f47b7c2ace3f929245 (diff)
downloadrneovim-8e6b0a73c91bb8650e21f56183c7fa83f6fb312f.tar.gz
rneovim-8e6b0a73c91bb8650e21f56183c7fa83f6fb312f.tar.bz2
rneovim-8e6b0a73c91bb8650e21f56183c7fa83f6fb312f.zip
Merge #10619 'API: context'
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r--src/nvim/eval.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index 149dae688e..abe032a96e 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -24,6 +24,13 @@ EXTERN ufunc_T dumuf;
#define HIKEY2UF(p) ((ufunc_T *)(p - offsetof(ufunc_T, uf_name)))
#define HI2UF(hi) HIKEY2UF((hi)->hi_key)
+/// enum used by var_flavour()
+typedef enum {
+ VAR_FLAVOUR_DEFAULT = 1, // doesn't start with uppercase
+ VAR_FLAVOUR_SESSION = 2, // starts with uppercase, some lower
+ VAR_FLAVOUR_SHADA = 4 // all uppercase
+} var_flavour_T;
+
/// Defines for Vim variables
typedef enum {
VV_COUNT,