From c5bfef7f9a876f66aa8d4fdbbacc0499e1364e90 Mon Sep 17 00:00:00 2001 From: 5-pebbles <5-pebble@protonmail.com> Date: Thu, 4 Jul 2024 22:45:54 -0400 Subject: [PATCH] fix(cmds): add `.` to :move docs for consistency; --- book/src/generated/typable-cmd.md | 2 +- helix-term/src/commands/typed.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md index 2511d34b1..66c46f167 100644 --- a/book/src/generated/typable-cmd.md +++ b/book/src/generated/typable-cmd.md @@ -85,7 +85,7 @@ | `:reset-diff-change`, `:diffget`, `:diffg` | Reset the diff change at the cursor position. | | `:clear-register` | Clear given register. If no argument is provided, clear all registers. | | `:redraw` | Clear and re-render the whole UI | -| `:move` | Move the current buffer and its corresponding file to a different path | +| `:move` | Move the current buffer and its corresponding file to a different path. | | `:move!` | Force move the current buffer and its corresponding file to a different path, overwriting the destination. | | `:yank-diagnostic` | Yank diagnostic(s) under primary cursor to register, or clipboard by default | | `:read`, `:r` | Load a file into buffer | diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index eb8a2ad76..729d404ec 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -3120,7 +3120,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[ TypableCommand { name: "move", aliases: &[], - doc: "Move the current buffer and its corresponding file to a different path", + doc: "Move the current buffer and its corresponding file to a different path.", fun: move_buffer, signature: CommandSignature::positional(&[completers::filename]), },