aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorJakub Łuczyński <doubleloop@o2.pl>2020-02-11 12:18:22 +0100
committerJakub Łuczyński <doubleloop@o2.pl>2020-02-13 14:11:47 +0100
commit1e0a9b26908ab1f48e58435da9efca691179d63d (patch)
treebd32179d29cbb4b08d80a337049bf9c271fa4b5d /src/nvim/eval.h
parent9d7ce03ef1f7332aee8ff2d752400ab0846d4191 (diff)
downloadrneovim-1e0a9b26908ab1f48e58435da9efca691179d63d.tar.gz
rneovim-1e0a9b26908ab1f48e58435da9efca691179d63d.tar.bz2
rneovim-1e0a9b26908ab1f48e58435da9efca691179d63d.zip
fix: made eval_lavars_used global
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r--src/nvim/eval.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index 6890d24252..ebc0eb0b1a 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -232,6 +232,9 @@ typedef enum {
kDictListItems, ///< List dictionary contents: [keys, values].
} DictListType;
+// Used for checking if local variables or arguments used in a lambda.
+extern bool *eval_lavars_used;
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "eval.h.generated.h"
#endif