Skip to content

Commit 6cbb602

Browse files
committed
fix(nvim): fix type annotation.
1 parent 9851c10 commit 6cbb602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/vectorcode/types.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
---@field buf_is_registered fun(bufnr: integer?): boolean Checks if a buffer has been registered.
4646
---@field buf_job_count fun(bufnr: integer?): integer Returns the number of running jobs in the background.
4747
---@field buf_is_enabled fun(bufnr: integer?): boolean Checks if a buffer has been enabled.
48-
---@field make_prompt_component fun(bufnr: integer?, component_cb: fun(result: VectorCode.Result): string?): {content: string, count: integer} Compile the retrieval results into a string.
48+
---@field make_prompt_component fun(bufnr: integer?, component_cb: (fun(result: VectorCode.Result): string)?): {content: string, count: integer} Compile the retrieval results into a string.
4949
---@field async_check fun(check_item: string?, on_success: fun(out: vim.SystemCompleted)?, on_failure: fun(out: vim.SystemCompleted)?) Checks if VectorCode has been configured properly for your project.

0 commit comments

Comments
 (0)