Skip to content

Commit bc2d5fa

Browse files
committed
fix: fix docstring for callback function in lsp autocommands
1 parent f2604d0 commit bc2d5fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/astrolsp/config.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
---@class AstroLSPAutocmd: vim.api.keyset.create_autocmd
2424
---@field event string|string[] Event(s) that will trigger the handler
25+
--- @field callback? string|(fun(args:vim.api.keyset.create_autocmd.callback_args,client:vim.lsp.Client,bufnr:integer): boolean?)
2526

2627
---@class AstroLSPAutocmds
2728
---@field cond AstroLSPCondition? condition for whether or not to create the auto commands during language server attachment

0 commit comments

Comments
 (0)