Skip to content

Commit

Permalink
fix: cannot use function as cmp kind (yetone#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone authored Aug 23, 2024
1 parent 3dbdba1 commit dbf2509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cmp_avante/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function source:get_keyword_pattern()
end

function source:complete(_, callback)
local kind = require("cmp").lsp.CompletionItemKind.Function
local kind = require("cmp").lsp.CompletionItemKind.Variable

local items = {}

Expand Down

0 comments on commit dbf2509

Please sign in to comment.