From 0d29cad8de3b2c654315203fc1fe12fde722a18a Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 15 Aug 2023 06:21:16 +0000 Subject: [PATCH] docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 34 ++++++++++++++++++++++++++++++++++ doc/server_configurations.txt | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/doc/server_configurations.md b/doc/server_configurations.md index e851c0ee91..522b7ff5b1 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -221,6 +221,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [textlsp](#textlsp) - [tflint](#tflint) - [theme_check](#theme_check) +- [thriftls](#thriftls) - [tilt_ls](#tilt_ls) - [tsserver](#tsserver) - [turtle_ls](#turtle_ls) @@ -9697,6 +9698,39 @@ require'lspconfig'.theme_check.setup{} ``` +## thriftls + +https://github.com/joyme123/thrift-ls + +you can install thriftls by mason or download binary here: https://github.com/joyme123/thrift-ls/releases + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.thriftls.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "thriftls" } + ``` + - `filetypes` : + ```lua + { "thrift" } + ``` + - `root_dir` : + ```lua + root_pattern(".thrift") + ``` + - `single_file_support` : + ```lua + true + ``` + + ## tilt_ls https://github.com/tilt-dev/tilt diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index e851c0ee91..522b7ff5b1 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -221,6 +221,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [textlsp](#textlsp) - [tflint](#tflint) - [theme_check](#theme_check) +- [thriftls](#thriftls) - [tilt_ls](#tilt_ls) - [tsserver](#tsserver) - [turtle_ls](#turtle_ls) @@ -9697,6 +9698,39 @@ require'lspconfig'.theme_check.setup{} ``` +## thriftls + +https://github.com/joyme123/thrift-ls + +you can install thriftls by mason or download binary here: https://github.com/joyme123/thrift-ls/releases + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.thriftls.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "thriftls" } + ``` + - `filetypes` : + ```lua + { "thrift" } + ``` + - `root_dir` : + ```lua + root_pattern(".thrift") + ``` + - `single_file_support` : + ```lua + true + ``` + + ## tilt_ls https://github.com/tilt-dev/tilt