From 9a44a23fc9fe762055fd2f195a6dd53373db1e54 Mon Sep 17 00:00:00 2001 From: lohhiiccc <96543753+lohhiiccc@users.noreply.github.com> Date: Tue, 19 Aug 2025 16:52:07 +0200 Subject: [PATCH] typo: strange and unnecessary "call" and fake news in README --- README.md | 1 - plugin/singlechar.vim | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e1ac198..46b3a0e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ A simple Vim plugin that lets you insert single characters (including Unicode) w - Insert characters (supports Unicode) at or after the cursor position - Support for counts to insert a character multiple times -- Input validation: warns if more than one character is entered - Stay in normal mode for efficient editing - Minimal workflow interruption - Works with Vim 9+ diff --git a/plugin/singlechar.vim b/plugin/singlechar.vim index abd3890..e4ddf80 100644 --- a/plugin/singlechar.vim +++ b/plugin/singlechar.vim @@ -54,7 +54,7 @@ g:last_singlechar_count = 1 nnoremap (singlechar-repeat) :call g:RepeatSingleChar() # Direct command implementations -command! -count=1 -nargs=? InsertCharAt call singlechar.InsertChar('at', , ) +command! -count=1 -nargs=? InsertCharAt singlechar.InsertChar('at', , ) command! -count=1 -nargs=? InsertCharAfter singlechar.InsertChar('after', , ) # Create default mappings unless disabled