diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-08-12 15:04:28 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-08-28 14:18:05 -0300 |
commit | 5b7a66ec3dc4d5130ee8de2c958ce917bc248702 (patch) | |
tree | 4346d7a590715946b7f0d1f09485f097daa55357 /src/nvim/globals.h | |
parent | a1400896b3e458ede63507b6efe20c32736a6729 (diff) | |
download | rneovim-5b7a66ec3dc4d5130ee8de2c958ce917bc248702.tar.gz rneovim-5b7a66ec3dc4d5130ee8de2c958ce917bc248702.tar.bz2 rneovim-5b7a66ec3dc4d5130ee8de2c958ce917bc248702.zip |
api: Implement '--embedded-mode' command-line option
This option makes nvim run in "embedded mode", which creates an API channel via
stdin/stdout and disables all terminal-related code
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index ad65f7e6fd..1ff8887598 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -1233,6 +1233,9 @@ EXTERN char *ignoredp; * os_unix.c */ EXTERN int curr_tmode INIT(= TMODE_COOK); /* contains current terminal mode */ +// If a msgpack-rpc channel should be started over stdin/stdout +EXTERN bool embedded_mode INIT(= false); + /// Used to track the status of external functions. /// Currently only used for iconv(). typedef enum { |