Skip to content

Commit f7f7898

Browse files
committed
chore(build): auto-generate vimdoc
1 parent db1ab0f commit f7f7898

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

doc/api.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,26 @@ 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+
43+
### lsp_config
44+
45+
46+
```lua
47+
function astrolsp.lsp_config(server_name: string)
48+
```
49+
50+
Configure the language server using `vim.lsp.config`
51+
52+
*param* `server_name` — The name of the server
53+
3454
### lsp_opts
3555

3656

doc/astrolsp.txt

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*astrolsp.txt* For Neovim >= 0.9.0 Last change: 2025 April 15
1+
*astrolsp.txt* For Neovim >= 0.9.0 Last change: 2025 April 22
22

33
==============================================================================
44
Table of Contents *astrolsp-table-of-contents*
@@ -557,6 +557,26 @@ 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+
569+
LSP_CONFIG ~
570+
571+
>lua
572+
function astrolsp.lsp_config(server_name: string)
573+
<
574+
575+
Configure the language server using `vim.lsp.config`
576+
577+
_param_ `server_name` — The name of the server
578+
579+
560580
LSP_OPTS ~
561581

562582
>lua

0 commit comments

Comments
 (0)