Skip to content

Commit

Permalink
Use lambda func instead of func name
Browse files Browse the repository at this point in the history
  • Loading branch information
machakann committed Mar 19, 2023
1 parent 03fe057 commit fa3f57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/highlightedyank.vim
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function! highlightedyank#debounce() abort "{{{
" highlight procedure starts after the control is returned to the user.
" This makes complex-repeat faster because the highlight doesn't
" performed during a macro execution.
let s:timer = timer_start(1, 's:highlight')
let s:timer = timer_start(1, {-> s:highlight()})
endfunction "}}}


Expand Down

0 comments on commit fa3f57b

Please sign in to comment.