diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-04-18 17:44:38 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-04-18 17:44:38 +0200 |
| commit | f8b5cbe6312b568def1f91d747e2cdb8984fdf2e (patch) | |
| tree | c1baf319b22d8ccc7d3468276b5ba9a26dfa2775 /lsp/ds_pinyin_lsp.lua | |
| parent | feat: angularls #3746 (diff) | |
| download | nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.gz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.bz2 nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.lz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.xz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.zst nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.zip | |
docs: cleanup
- brief should live at the top of each file
- fix indentation for some docs
Diffstat (limited to 'lsp/ds_pinyin_lsp.lua')
| -rw-r--r-- | lsp/ds_pinyin_lsp.lua | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/lsp/ds_pinyin_lsp.lua b/lsp/ds_pinyin_lsp.lua index 2b3e7fa8..67407827 100644 --- a/lsp/ds_pinyin_lsp.lua +++ b/lsp/ds_pinyin_lsp.lua @@ -1,3 +1,20 @@ +---@brief +--- +--- 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 +--- +--- vim.lsp.config('ds_pinyin_lsp', { +--- init_options = { +--- db_path = "your_path_to_database" +--- } +--- }) +--- +--- ``` + local util = require 'lspconfig.util' local bin_name = 'ds-pinyin-lsp' @@ -29,22 +46,6 @@ local function ds_pinyin_lsp_on(bufnr) end end ----@brief ---- --- 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 --- --- vim.lsp.config('ds_pinyin_lsp', { --- init_options = { --- db_path = "your_path_to_database" --- } --- }) --- --- ``` return { cmd = { bin_name }, filetypes = { 'markdown', 'org' }, |
