File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ function astrolsp.lsp_setup(server: string)
7878
7979
8080``` lua
81- function astrolsp .on_attach (client : lsp.Client , bufnr : integer )
81+ function astrolsp .on_attach (client : vim. lsp.Client , bufnr : integer )
8282```
8383
8484* param* ` client ` — The LSP client details when attaching
@@ -87,6 +87,15 @@ function astrolsp.on_attach(client: lsp.Client, bufnr: integer)
8787
8888 The ` on_attach ` function used by AstroNvim
8989
90+ ### progress
91+
92+
93+ ``` lua
94+ function astrolsp .progress (data : { client_id : integer , result : lsp.ProgressParams } )
95+ ```
96+
97+ Add a new LSP progress message to the message queue
98+
9099### setup
91100
92101
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ _param_ `server` — The name of the server to be setup
378378ON_ATTACH ~
379379
380380>lua
381- function astrolsp.on_attach(client: lsp.Client, bufnr: integer)
381+ function astrolsp.on_attach(client: vim. lsp.Client, bufnr: integer)
382382<
383383
384384_param_ `client` — The LSP client details when attaching
@@ -388,6 +388,15 @@ _param_ `bufnr` — The buffer that the LSP client is attaching to
388388The `on_attach` function used by AstroNvim
389389
390390
391+ PROGRESS ~
392+
393+ >lua
394+ function astrolsp.progress(data: { client_id: integer, result: lsp.ProgressParams })
395+ <
396+
397+ Add a new LSP progress message to the message queue
398+
399+
391400SETUP ~
392401
393402>lua
You can’t perform that action at this time.
0 commit comments