aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2022-08-09 15:56:04 +0000
committergithub-actions <github-actions@github.com>2022-08-09 15:56:04 +0000
commitda7461b596d70fa47b50bf3a7acfaef94c47727d (patch)
tree5f928ade8f1964e54f3535e51bbb2e07f678832e
parentfeat: add syntax_tree lsp for ruby formatting (#2056) (diff)
downloadnvim-lspconfig-da7461b596d70fa47b50bf3a7acfaef94c47727d.tar
nvim-lspconfig-da7461b596d70fa47b50bf3a7acfaef94c47727d.tar.gz
nvim-lspconfig-da7461b596d70fa47b50bf3a7acfaef94c47727d.tar.bz2
nvim-lspconfig-da7461b596d70fa47b50bf3a7acfaef94c47727d.tar.lz
nvim-lspconfig-da7461b596d70fa47b50bf3a7acfaef94c47727d.tar.xz
nvim-lspconfig-da7461b596d70fa47b50bf3a7acfaef94c47727d.tar.zst
nvim-lspconfig-da7461b596d70fa47b50bf3a7acfaef94c47727d.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md39
-rw-r--r--doc/server_configurations.txt39
2 files changed, 78 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index b970393c..1be46352 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -143,6 +143,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [svelte](#svelte)
- [svlangserver](#svlangserver)
- [svls](#svls)
+- [syntax_tree](#syntax_tree)
- [tailwindcss](#tailwindcss)
- [taplo](#taplo)
- [teal_ls](#teal_ls)
@@ -6032,6 +6033,44 @@ require'lspconfig'.svls.setup{}
```
+## syntax_tree
+
+https://ruby-syntax-tree.github.io/syntax_tree/
+
+A fast Ruby parser and formatter.
+
+Syntax Tree is a suite of tools built on top of the internal CRuby parser. It
+provides the ability to generate a syntax tree from source, as well as the
+tools necessary to inspect and manipulate that syntax tree. It can be used to
+build formatters, linters, language servers, and more.
+
+```sh
+gem install syntax_tree
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.syntax_tree.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "stree", "lsp" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "ruby" }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern(".streerc", "Gemfile", ".git")
+ ```
+
+
## tailwindcss
https://github.com/tailwindlabs/tailwindcss-intellisense
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index b970393c..1be46352 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -143,6 +143,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [svelte](#svelte)
- [svlangserver](#svlangserver)
- [svls](#svls)
+- [syntax_tree](#syntax_tree)
- [tailwindcss](#tailwindcss)
- [taplo](#taplo)
- [teal_ls](#teal_ls)
@@ -6032,6 +6033,44 @@ require'lspconfig'.svls.setup{}
```
+## syntax_tree
+
+https://ruby-syntax-tree.github.io/syntax_tree/
+
+A fast Ruby parser and formatter.
+
+Syntax Tree is a suite of tools built on top of the internal CRuby parser. It
+provides the ability to generate a syntax tree from source, as well as the
+tools necessary to inspect and manipulate that syntax tree. It can be used to
+build formatters, linters, language servers, and more.
+
+```sh
+gem install syntax_tree
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.syntax_tree.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "stree", "lsp" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "ruby" }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern(".streerc", "Gemfile", ".git")
+ ```
+
+
## tailwindcss
https://github.com/tailwindlabs/tailwindcss-intellisense