diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
commit | 931bffbda3668ddc609fc1da8f9eb576b170aa52 (patch) | |
tree | d8c1843a95da5ea0bb4acc09f7e37843d9995c86 /runtime/doc/remote_plugin.txt | |
parent | 142d9041391780ac15b89886a54015fdc5c73995 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-userreg.tar.gz rneovim-userreg.tar.bz2 rneovim-userreg.zip |
Merge remote-tracking branch 'upstream/master' into userreguserreg
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 |