diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | runtime/plugin/rplugin.vim | 4 | ||||
-rw-r--r-- | src/nvim/main.c | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -63,7 +63,7 @@ After installing the dependencies, run the following command. To install to a non-default location: - make CMAKE_INSTALL_PREFIX=/full/path/ + make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/full/path/ make install CMake hints for inspecting the build: diff --git a/runtime/plugin/rplugin.vim b/runtime/plugin/rplugin.vim index 122d8d47f8..52f4bd05bc 100644 --- a/runtime/plugin/rplugin.vim +++ b/runtime/plugin/rplugin.vim @@ -62,4 +62,6 @@ endfunction command! -bar UpdateRemotePlugins call remote#host#UpdateRemotePlugins() -call s:LoadRemotePlugins() +if index(v:argv, "--clean") < 0 + call s:LoadRemotePlugins() +endif diff --git a/src/nvim/main.c b/src/nvim/main.c index fabfc57037..71c1ddfae1 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -263,6 +263,8 @@ int main(int argc, char **argv) nlua_init(); + TIME_MSG("init lua interpreter"); + if (embedded_mode) { const char *err; if (!channel_from_stdio(true, CALLBACK_READER_INIT, &err)) { |