feat: add support for {row}:{column} syntax in goto mini mode

This commit is contained in:
CJ van den Berg 2025-09-17 20:39:45 +02:00
parent 59921d8e10
commit 933126e2a0
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 58 additions and 24 deletions

View file

@ -73,7 +73,7 @@ pub fn Create(options: type) type {
const process_digit_ = if (@hasDecl(options, "process_digit")) options.process_digit else process_digit;
if (@hasDecl(options, "Separator")) {
switch (char) {
'0'...'9' => process_digit_(@intCast(char - '0')),
'0'...'9' => process_digit_(self, @intCast(char - '0')),
options.Separator => options.process_separator(self),
else => {},
}