Skip to content

Commit 150fcf8

Browse files
committed
♻️ Rename s:create to s:builtin
1 parent 1a1dcf7 commit 150fcf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/gitmoji.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ endfunction
2525
" where kind: is set to *not* gitmoji, but 'user', or 'plugin'
2626
" TODO: Look into applying iabbrev(s) during the CompleteDonePre or
2727
" CompleteDone event.
28-
function s:create(idx, name)
28+
function s:builtin(idx, name)
2929
let gitmoji = s:gitmoji[a:name]
3030
echomsg "Gitmoji.code: " gitmoji.code
3131
let word = g:gitmoji_insert_emoji ? gitmoji.emoji : gitmoji.code
@@ -76,5 +76,5 @@ function gitmoji#complete(findstart, base)
7676
if !a:base->empty() && a:findstart == 0
7777
let keys = keys->matchfuzzy(a:base[1:])
7878
endif
79-
return keys->map(function('s:create'))
79+
return keys->map(function('s:builtin'))
8080
endfunction

0 commit comments

Comments
 (0)