aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2023-01-15 06:02:22 +0000
committergithub-actions <github-actions@github.com>2023-01-15 06:02:22 +0000
commit8ebe6894dddaeb1459e1397c865f54fa5ecaac80 (patch)
tree9350a4f441ac11ed24853b2475bfbbf4b3601efd
parentfeat: add ds-pinyin-lsp support (#2397) (diff)
downloadnvim-lspconfig-8ebe6894dddaeb1459e1397c865f54fa5ecaac80.tar
nvim-lspconfig-8ebe6894dddaeb1459e1397c865f54fa5ecaac80.tar.gz
nvim-lspconfig-8ebe6894dddaeb1459e1397c865f54fa5ecaac80.tar.bz2
nvim-lspconfig-8ebe6894dddaeb1459e1397c865f54fa5ecaac80.tar.lz
nvim-lspconfig-8ebe6894dddaeb1459e1397c865f54fa5ecaac80.tar.xz
nvim-lspconfig-8ebe6894dddaeb1459e1397c865f54fa5ecaac80.tar.zst
nvim-lspconfig-8ebe6894dddaeb1459e1397c865f54fa5ecaac80.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md59
-rw-r--r--doc/server_configurations.txt59
2 files changed, 118 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 9acffb87..3c19f5d9 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -44,6 +44,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [dolmenls](#dolmenls)
- [dotls](#dotls)
- [drools_lsp](#drools_lsp)
+- [ds_pinyin_lsp](#ds_pinyin_lsp)
- [efm](#efm)
- [elixirls](#elixirls)
- [elmls](#elmls)
@@ -1872,6 +1873,64 @@ require'lspconfig'.drools_lsp.setup{}
```
+## ds_pinyin_lsp
+
+https://github.com/iamcco/ds-pinyin-lsp
+Dead simple Pinyin language server for input Chinese without IME(input method).
+To install, download the latest [release](https://github.com/iamcco/ds-pinyin-lsp/releases) and ensure `ds-pinyin-lsp` is on your path.
+And make ensure the database file `dict.db3` is also downloaded. And put the path to `dict.dbs` in the following code.
+
+```lua
+
+require('lspconfig').ds_pinyin_lsp.setup {
+ init_options = {
+ db_path = "your_path_to_database"
+ }
+}
+
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.ds_pinyin_lsp.setup{}
+```
+**Commands:**
+- DsPinyinCompletionOff: Turn off the ds-pinyin-lsp completion
+- DsPinyinCompletionOn: Turn on the ds-pinyin-lsp completion
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "ds-pinyin-lsp" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "markdown", "org" }
+ ```
+ - `init_options` :
+ ```lua
+ {
+ completion_on = true,
+ match_as_same_as_input = true,
+ match_long_input = true,
+ max_suggest = 15,
+ show_symbols = true,
+ show_symbols_by_n_times = 0,
+ show_symbols_only_follow_by_hanzi = false
+ }
+ ```
+ - `root_dir` :
+ ```lua
+ see source file
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## efm
https://github.com/mattn/efm-langserver
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 9acffb87..3c19f5d9 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -44,6 +44,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [dolmenls](#dolmenls)
- [dotls](#dotls)
- [drools_lsp](#drools_lsp)
+- [ds_pinyin_lsp](#ds_pinyin_lsp)
- [efm](#efm)
- [elixirls](#elixirls)
- [elmls](#elmls)
@@ -1872,6 +1873,64 @@ require'lspconfig'.drools_lsp.setup{}
```
+## ds_pinyin_lsp
+
+https://github.com/iamcco/ds-pinyin-lsp
+Dead simple Pinyin language server for input Chinese without IME(input method).
+To install, download the latest [release](https://github.com/iamcco/ds-pinyin-lsp/releases) and ensure `ds-pinyin-lsp` is on your path.
+And make ensure the database file `dict.db3` is also downloaded. And put the path to `dict.dbs` in the following code.
+
+```lua
+
+require('lspconfig').ds_pinyin_lsp.setup {
+ init_options = {
+ db_path = "your_path_to_database"
+ }
+}
+
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.ds_pinyin_lsp.setup{}
+```
+**Commands:**
+- DsPinyinCompletionOff: Turn off the ds-pinyin-lsp completion
+- DsPinyinCompletionOn: Turn on the ds-pinyin-lsp completion
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "ds-pinyin-lsp" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "markdown", "org" }
+ ```
+ - `init_options` :
+ ```lua
+ {
+ completion_on = true,
+ match_as_same_as_input = true,
+ match_long_input = true,
+ max_suggest = 15,
+ show_symbols = true,
+ show_symbols_by_n_times = 0,
+ show_symbols_only_follow_by_hanzi = false
+ }
+ ```
+ - `root_dir` :
+ ```lua
+ see source file
+ ```
+ - `single_file_support` :
+ ```lua
+ true
+ ```
+
+
## efm
https://github.com/mattn/efm-langserver