diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-01-31 06:08:06 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-01-31 06:08:06 +0000 |
| commit | 11d01e09a1ab3cc3829ca7e3c2986494edbd0f84 (patch) | |
| tree | 7b0d83956b72e30de477ca8c2f0eae508118b252 | |
| parent | feat: add dprint lsp (#2982) (diff) | |
| download | nvim-lspconfig-11d01e09a1ab3cc3829ca7e3c2986494edbd0f84.tar nvim-lspconfig-11d01e09a1ab3cc3829ca7e3c2986494edbd0f84.tar.gz nvim-lspconfig-11d01e09a1ab3cc3829ca7e3c2986494edbd0f84.tar.bz2 nvim-lspconfig-11d01e09a1ab3cc3829ca7e3c2986494edbd0f84.tar.lz nvim-lspconfig-11d01e09a1ab3cc3829ca7e3c2986494edbd0f84.tar.xz nvim-lspconfig-11d01e09a1ab3cc3829ca7e3c2986494edbd0f84.tar.zst nvim-lspconfig-11d01e09a1ab3cc3829ca7e3c2986494edbd0f84.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 38 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 38 |
2 files changed, 76 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index c09c9fb1..3144568a 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -63,6 +63,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [dockerls](#dockerls) - [dolmenls](#dolmenls) - [dotls](#dotls) +- [dprint](#dprint) - [drools_lsp](#drools_lsp) - [ds_pinyin_lsp](#ds_pinyin_lsp) - [ecsact](#ecsact) @@ -2806,6 +2807,43 @@ require'lspconfig'.dotls.setup{} ``` +## dprint + +https://github.com/dprint/dprint + +Pluggable and configurable code formatting platform written in Rust. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.dprint.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "dprint", "lsp" } + ``` + - `filetypes` : + ```lua + { "javascript", "javascriptreact", "typescript", "typescriptreact", "json", "jsonc", "markdown", "python", "toml", "rust", "roslyn" } + ``` + - `root_dir` : + ```lua + <function 1> + ``` + - `settings` : + ```lua + {} + ``` + - `single_file_support` : + ```lua + true + ``` + + ## drools_lsp https://github.com/kiegroup/drools-lsp diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index c09c9fb1..3144568a 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -63,6 +63,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [dockerls](#dockerls) - [dolmenls](#dolmenls) - [dotls](#dotls) +- [dprint](#dprint) - [drools_lsp](#drools_lsp) - [ds_pinyin_lsp](#ds_pinyin_lsp) - [ecsact](#ecsact) @@ -2806,6 +2807,43 @@ require'lspconfig'.dotls.setup{} ``` +## dprint + +https://github.com/dprint/dprint + +Pluggable and configurable code formatting platform written in Rust. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.dprint.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "dprint", "lsp" } + ``` + - `filetypes` : + ```lua + { "javascript", "javascriptreact", "typescript", "typescriptreact", "json", "jsonc", "markdown", "python", "toml", "rust", "roslyn" } + ``` + - `root_dir` : + ```lua + <function 1> + ``` + - `settings` : + ```lua + {} + ``` + - `single_file_support` : + ```lua + true + ``` + + ## drools_lsp https://github.com/kiegroup/drools-lsp |
