Add SourceBaseApiParams to get_trigger_characters API

This commit is contained in:
hrsh7th
2021-08-25 11:29:04 +09:00
parent f7bb6f1c6e
commit d1b32f241f
2 changed files with 5 additions and 2 deletions

View File

@@ -347,8 +347,9 @@ function source:get_keyword_pattern(params)
end
---Return trigger characters.
---@param params cmp.SourceBaseApiParams
---@return string[]
function source:get_trigger_characters()
function source:get_trigger_characters(params)
return { ??? }
end