From da7461b596d70fa47b50bf3a7acfaef94c47727d Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 9 Aug 2022 15:56:04 +0000 Subject: docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 39 +++++++++++++++++++++++++++++++++++++++ doc/server_configurations.txt | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) 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 -- cgit v1.2.3-70-g09d2