Skip to content

Commit 5ef4d0f

Browse files
committed
fix(config): fix incorrect type of lsp_handlers functions
1 parent fab58b2 commit 5ef4d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/astrolsp/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
--- )
210210
---}
211211
---```
212-
---@field lsp_handlers table<string,fun(err:lsp.ResponseError?,server:string,result:any,ctx:lsp.HandlerContext,config:table?)|false>|false?
212+
---@field lsp_handlers table<string,lsp.Handler|false>|false?
213213
---Configuration of mappings added when attaching a language server during the core `on_attach` function
214214
---The first key into the table is the vim map mode (`:h map-modes`), and the value is a table of entries to be passed to `vim.keymap.set` (`:h vim.keymap.set`):
215215
--- - The key is the first parameter or the vim mode (only a single mode supported) and the value is a table of keymaps within that mode:

0 commit comments

Comments
 (0)