feat: vim-repeat optional is now optional

This commit is contained in:
lohhiiccc 2025-08-19 10:16:33 +02:00
parent 629a204590
commit 64bcd7a1a0

View file

@ -72,7 +72,9 @@ def InsertChar(mode: string, count: number, pkey: string = ''): void
g:last_singlechar_count = count g:last_singlechar_count = count
#set vim-repeat #set vim-repeat
if exists('*repeat#set')
legacy call repeat#set("\<Plug>(singlechar-repeat)") legacy call repeat#set("\<Plug>(singlechar-repeat)")
endif
enddef enddef
def g:RepeatSingleChar(): void def g:RepeatSingleChar(): void