diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-30 20:35:25 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-30 20:35:25 +0000 |
commit | 1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (patch) | |
tree | cd08258054db80bb9a11b1061bb091c70b76926a /runtime/doc/remote_plugin.txt | |
parent | eaa89c11d0f8aefbb512de769c6c82f61a8baca3 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-aucmd_textputpost.tar.gz rneovim-aucmd_textputpost.tar.bz2 rneovim-aucmd_textputpost.zip |
Merge remote-tracking branch 'upstream/master' into aucmd_textputpostaucmd_textputpost
Diffstat (limited to 'runtime/doc/remote_plugin.txt')
-rw-r--r-- | runtime/doc/remote_plugin.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/remote_plugin.txt b/runtime/doc/remote_plugin.txt index 4cdcbed250..cfe4b08000 100644 --- a/runtime/doc/remote_plugin.txt +++ b/runtime/doc/remote_plugin.txt @@ -4,7 +4,7 @@ NVIM REFERENCE MANUAL by Thiago de Arruda -Nvim support for remote plugins *remote-plugin* +Nvim support for remote plugins *remote-plugin* Type |gO| to see the table of contents. @@ -40,8 +40,8 @@ fast as possible, even if many plugins/hosts are installed. The best way to learn about remote plugins is with an example, so let's see what a Python plugin looks like. This plugin exports a command, a function, and an autocmd. The plugin is called 'Limit', and all it does is limit the number -of requests made to it. Here's the plugin source code: -> +of requests made to it. Here's the plugin source code: >python + import pynvim @pynvim.plugin @@ -119,7 +119,7 @@ would also be spawned, which could take seconds! With the manifest, each host will only be loaded when required. Continuing with the example, say the Java plugin is a semantic completion engine for Java code. -If it defines the autocommand "BufEnter *.java", then the Java host is spawned +If it defines the autocommand `BufEnter *.java`, then the Java host is spawned only when Nvim loads a buffer matching "*.java". If the explicit call to |:UpdateRemotePlugins| seems inconvenient, try to see |