Skip to content

Commit

Permalink
Make s:initGhost accept varargs (#39)
Browse files Browse the repository at this point in the history
`timer_start` sends the timer ID as argument, so it needs to be
swallowed somehow. Making `s:initGhost` accept varargs is the simplest
way to acheive this.
  • Loading branch information
idanarye authored Jun 2, 2020
1 parent 0ddcd15 commit da751ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/ghost.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function! ghost#install()
endif
endfunction

function! s:initGhost()
function! s:initGhost(...)
" init ghost - capture window id to raise if necessary (*nix only)
" Then if autostart is enabled, then start
call s:SetWindowId()
Expand Down

0 comments on commit da751ac

Please sign in to comment.