aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-05-21 18:52:45 +0200
committerWilliam Boman <william@redwill.se>2021-05-21 18:54:59 +0200
commit6ace4db082370c3f7a2de4220d5174caec2c5ea6 (patch)
treea13ffec30cef135a585a36e9130c231554a4f897 /README.md
parentadd pyright to server list (diff)
downloadmason-6ace4db082370c3f7a2de4220d5174caec2c5ea6.tar
mason-6ace4db082370c3f7a2de4220d5174caec2c5ea6.tar.gz
mason-6ace4db082370c3f7a2de4220d5174caec2c5ea6.tar.bz2
mason-6ace4db082370c3f7a2de4220d5174caec2c5ea6.tar.lz
mason-6ace4db082370c3f7a2de4220d5174caec2c5ea6.tar.xz
mason-6ace4db082370c3f7a2de4220d5174caec2c5ea6.tar.zst
mason-6ace4db082370c3f7a2de4220d5174caec2c5ea6.zip
add nvim-tree.lua adapter
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/README.md b/README.md
index 24fe7fc8..e6235f74 100644
--- a/README.md
+++ b/README.md
@@ -97,7 +97,7 @@ end
The `tsserver` language server comes with the following extras:
-- `rename_file(old, new)` Tells the language server that a file was renamed. Useful when refactoring.
+- `rename_file(old, new)` Tells the language server that a file was renamed. Useful when refactoring. Refer to the [adapters section](#adapters) to find plugin integrations that automatically executes this for you.
Usage:
@@ -113,6 +113,18 @@ require'nvim-lsp-installer.extras.tsserver'.rename_file(old, new)
require'nvim-lsp-installer.extras.tsserver'.organize_imports(bufname)
```
+## Adapters
+
+### [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.