Skip to content

Commit

Permalink
fix: github mentions inserting nil text
Browse files Browse the repository at this point in the history
  • Loading branch information
petertriho committed Nov 29, 2021
1 parent 64f8e35 commit 2d78e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cmp_git/github.lua
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function GitHub:get_mentions(callback, git_info, trigger_char, config)
function(mention)
return {
label = string.format("@%s", mention.login),
insertText = string.format("@%s", mention.number),
insertText = string.format("@%s", mention.login),
sortText = sort.get_sort_text(config.sort_by, mention),
data = mention,
}
Expand Down

0 comments on commit 2d78e6e

Please sign in to comment.