Skip to content

Commit 204d775

Browse files
committed
chore(build): auto-generate vimdoc
1 parent 7775752 commit 204d775

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

doc/api.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,20 @@ unknown
3131

3232
Format options that are passed into the `vim.lsp.buf.format` (`:h vim.lsp.buf.format()`)
3333

34-
### is_configured
35-
36-
37-
```lua
38-
table
39-
```
40-
41-
A table of LSP clients that have been configured already
42-
4334
### lsp_config
4435

4536

4637
```lua
4738
function astrolsp.lsp_config(server_name: string)
39+
-> vim.lsp.Config
4840
```
4941

5042
Configure the language server using `vim.lsp.config`
5143

5244
*param* `server_name` — The name of the server
5345

46+
*return* — The resolved configuration
47+
5448
### lsp_opts
5549

5650

doc/astrolsp.txt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -557,25 +557,19 @@ Format options that are passed into the `vim.lsp.buf.format`
557557
(|vim.lsp.buf.format()|)
558558

559559

560-
IS_CONFIGURED ~
561-
562-
>lua
563-
table
564-
<
565-
566-
A table of LSP clients that have been configured already
567-
568-
569560
LSP_CONFIG ~
570561

571562
>lua
572563
function astrolsp.lsp_config(server_name: string)
564+
-> vim.lsp.Config
573565
<
574566

575567
Configure the language server using `vim.lsp.config`
576568

577569
_param_ `server_name` — The name of the server
578570

571+
_return_ — The resolved configuration
572+
579573

580574
LSP_OPTS ~
581575

0 commit comments

Comments
 (0)