We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a1dcf7 commit 150fcf8Copy full SHA for 150fcf8
autoload/gitmoji.vim
@@ -25,7 +25,7 @@ endfunction
25
" where kind: is set to *not* gitmoji, but 'user', or 'plugin'
26
" TODO: Look into applying iabbrev(s) during the CompleteDonePre or
27
" CompleteDone event.
28
-function s:create(idx, name)
+function s:builtin(idx, name)
29
let gitmoji = s:gitmoji[a:name]
30
echomsg "Gitmoji.code: " gitmoji.code
31
let word = g:gitmoji_insert_emoji ? gitmoji.emoji : gitmoji.code
@@ -76,5 +76,5 @@ function gitmoji#complete(findstart, base)
76
if !a:base->empty() && a:findstart == 0
77
let keys = keys->matchfuzzy(a:base[1:])
78
endif
79
- return keys->map(function('s:create'))
+ return keys->map(function('s:builtin'))
80
endfunction
0 commit comments