diff options
| -rw-r--r-- | doc/server_configurations.md | 39 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 39 |
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 |
