From 629a204590eb5d782ad6085c7907ed0a16acc0fd Mon Sep 17 00:00:00 2001 From: lohhiiccc <96543753+lohhiiccc@users.noreply.github.com> Date: Tue, 19 Aug 2025 09:14:57 +0200 Subject: [PATCH] style: remove unused 'import' keyword to functions --- plugin/singlechar.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/singlechar.vim b/plugin/singlechar.vim index fd32cc1..896a25d 100644 --- a/plugin/singlechar.vim +++ b/plugin/singlechar.vim @@ -46,7 +46,7 @@ g:last_singlechar_count = 1 # mode: 'at' to insert before cursor, 'after' to insert after cursor # count: number of times to repeat the character # pkey: character to insert (optional) -export def InsertChar(mode: string, count: number, pkey: string = ''): void +def InsertChar(mode: string, count: number, pkey: string = ''): void var key = pkey if pkey == '' @@ -75,7 +75,7 @@ export def InsertChar(mode: string, count: number, pkey: string = ''): void legacy call repeat#set("\(singlechar-repeat)") enddef -export def g:RepeatSingleChar(): void +def g:RepeatSingleChar(): void if g:last_singlechar_key != '' call InsertChar(g:last_singlechar_mode, g:last_singlechar_count, g:last_singlechar_key) endif