diff options
| author | William Boman <william@redwill.se> | 2021-09-03 21:00:43 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-09-03 21:03:02 +0200 |
| commit | 7bb31b5283ceeebc8cd89287d71818a0a9cf6fc1 (patch) | |
| tree | 240e54aad2819c571b275ab3ed91a92ac78e8b17 | |
| parent | opts: remove testing code and add default param (diff) | |
| download | mason-7bb31b5283ceeebc8cd89287d71818a0a9cf6fc1.tar mason-7bb31b5283ceeebc8cd89287d71818a0a9cf6fc1.tar.gz mason-7bb31b5283ceeebc8cd89287d71818a0a9cf6fc1.tar.bz2 mason-7bb31b5283ceeebc8cd89287d71818a0a9cf6fc1.tar.lz mason-7bb31b5283ceeebc8cd89287d71818a0a9cf6fc1.tar.xz mason-7bb31b5283ceeebc8cd89287d71818a0a9cf6fc1.tar.zst mason-7bb31b5283ceeebc8cd89287d71818a0a9cf6fc1.zip | |
clean up README a bit
| -rw-r--r-- | ADAPTERS.md | 16 | ||||
| -rw-r--r-- | README.md | 15 |
2 files changed, 16 insertions, 15 deletions
diff --git a/ADAPTERS.md b/ADAPTERS.md new file mode 100644 index 00000000..cf094ae2 --- /dev/null +++ b/ADAPTERS.md @@ -0,0 +1,16 @@ +# Adapters (experimental) + +The idea with the adapter API is to provide simple interfaces that allow for a richer LSP experience by combining the +functionalities of multiple plugins. + +(make sure to only attempt connecting adapters once the plugin(s) involved have been loaded) + +## [kyazdani42/nvim-tree.lua](https://github.com/kyazdani42/nvim-tree.lua) + +```lua +require'nvim-lsp-installer.adapters.nvim-tree'.connect() +``` + +Supported capabilities: + +- `_typescript.applyRenameFile`. Automatically executes the rename file client request when renaming a node. @@ -14,7 +14,6 @@ LSP servers locally (inside `:echo stdpath("data")`). On top of just providing commands for installing & uninstalling LSP servers, it: - provides configurations for servers that aren't supported by nvim-lspconfig (`eslint`) -- provides Lua APIs for non-standard LSP functionalities, for example `_typescript.applyRenameFile` - has support for a variety of different install methods (e.g., [google/zx](https://github.com/google/zx)) - common install tasks are abstracted behind Lua APIs - <img src="https://user-images.githubusercontent.com/6705160/131256603-cacf7f66-dfa9-4515-8ae4-0e42d08cfc6a.png" height="20"> supports Windows for a majority of server installations @@ -148,20 +147,6 @@ end You can create your own installers by using the same APIs nvim-lsp-installer itself uses. Refer to [CUSTOM_SERVERS.md](./CUSTOM_SERVERS.md) for more information. -## Adapters (experimental) - -Make sure to only attempt connecting adapters once the plugin(s) involved have been loaded. - -### [kyazdani42/nvim-tree.lua](https://github.com/kyazdani42/nvim-tree.lua) - -```lua -require'nvim-lsp-installer.adapters.nvim-tree'.connect() -``` - -Supported capabilities: - -- `_typescript.applyRenameFile`. Automatically executes the rename file client request when renaming a node. - ## Logo Illustrations in the logo are derived from [@Kaligule](https://schauderbasis.de/)'s "Robots" collection. |
