aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-06-23 09:56:35 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-11-24 11:01:37 +0100
commit01dbf0951b25d582451a8e656731dcf3d9295a71 (patch)
tree40d9b5b3fee2829baf8c3ab5fa38cf8d0629d7ce /src/nvim/main.c
parent108566e7b6f1b331dac8e339280c230bf39c137d (diff)
downloadrneovim-01dbf0951b25d582451a8e656731dcf3d9295a71.tar.gz
rneovim-01dbf0951b25d582451a8e656731dcf3d9295a71.tar.bz2
rneovim-01dbf0951b25d582451a8e656731dcf3d9295a71.zip
api: implement object namespaces
Namespaces is a lightweight concept that should be used to group objects for purposes of bulk operations and introspection. This is initially used for highlights and virtual text in buffers, and is planned to also be used for extended marks. There is no plan use them for privileges or isolation, neither to introduce nanespace-level options.
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index af54e62393..911e51407d 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -73,6 +73,7 @@
#ifndef WIN32
# include "nvim/os/pty_process_unix.h"
#endif
+#include "nvim/api/vim.h"
// Maximum number of commands from + or -c arguments.
#define MAX_ARG_CMDS 10
@@ -150,6 +151,8 @@ void event_init(void)
signal_init();
// finish mspgack-rpc initialization
channel_init();
+ remote_ui_init();
+ api_vim_init();
terminal_init();
}