aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc/defs.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-08-13 12:20:53 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-08-13 12:20:53 -0300
commita94a68145b3c607d1e58f708ded8fe625c9973d5 (patch)
tree2d69f4f3a06f0ac5a4e936ec40bde81a26cf2b53 /src/nvim/msgpack_rpc/defs.h
parent6bf322c6ff190b9f10c5286b3ae6fceedfbddb61 (diff)
parentf1de097dbb236ea400150f80b909407ca9af7441 (diff)
downloadrneovim-a94a68145b3c607d1e58f708ded8fe625c9973d5.tar.gz
rneovim-a94a68145b3c607d1e58f708ded8fe625c9973d5.tar.bz2
rneovim-a94a68145b3c607d1e58f708ded8fe625c9973d5.zip
Merge PR #3029 'Refactor event processing architecture'
Helped-by: oni-link <knil.ino@gmail.com> Reviewed-by: oni-link <knil.ino@gmail.com>
Diffstat (limited to 'src/nvim/msgpack_rpc/defs.h')
-rw-r--r--src/nvim/msgpack_rpc/defs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/msgpack_rpc/defs.h b/src/nvim/msgpack_rpc/defs.h
index 0492a65290..d97cf28ca1 100644
--- a/src/nvim/msgpack_rpc/defs.h
+++ b/src/nvim/msgpack_rpc/defs.h
@@ -11,9 +11,8 @@ typedef struct {
uint64_t request_id,
Array args,
Error *error);
- bool defer; // Should the call be deferred to the main loop? This should
- // be true if the function mutates editor data structures such
- // as buffers, windows, tabs, or if it executes vimscript code.
+ bool async; // function is always safe to run immediately instead of being
+ // put in a request queue for handling when nvim waits for input.
} MsgpackRpcRequestHandler;
/// Initializes the msgpack-rpc method table