Skip to content

Commit

Permalink
feat: add annotation to fix type cheking
Browse files Browse the repository at this point in the history
  • Loading branch information
max397574 committed Jun 19, 2024
1 parent 25f06a2 commit c7c57e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/neocomplete/source.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ end
function source.get_keyword_pattern(self)
local keyword_pattern = require("neocomplete.config").options.keyword_pattern
if self.source.keyword_pattern then
---@type string
keyword_pattern = self.source.keyword_pattern
end
if self.source.get_keyword_pattern then
Expand Down

0 comments on commit c7c57e3

Please sign in to comment.