aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-12-09 21:10:58 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2021-12-09 21:10:58 +0100
commit51822f065590154561a59435ca920207fd39bdda (patch)
tree68b23bad187daef4b6a01628747d87c0d1f60526 /src/nvim/eval.h
parent2ec0e0a868ba20373ef4cd2d2540db7e829ddc56 (diff)
downloadrneovim-51822f065590154561a59435ca920207fd39bdda.tar.gz
rneovim-51822f065590154561a59435ca920207fd39bdda.tar.bz2
rneovim-51822f065590154561a59435ca920207fd39bdda.zip
refactor(misc1): move out autocmd related functions
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 3b3a68bd29..a9ec5d47a6 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -193,6 +193,13 @@ extern const list_T *eval_msgpack_type_lists[LAST_MSGPACK_TYPE + 1];
#undef LAST_MSGPACK_TYPE
+// Struct passed to get_v_event() and restore_v_event().
+typedef struct {
+ bool sve_did_save;
+ hashtab_T sve_hashtab;
+} save_v_event_T;
+
+
/// trans_function_name() flags
typedef enum {
TFN_INT = 1, ///< May use internal function name