From 6ff3493c9bc85063ae829f0c25c21be3bde5c5b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=AFl=20Senhaji?= <134528+iSma@users.noreply.github.com> Date: Thu, 30 May 2024 21:59:37 +0200 Subject: [PATCH] modules/keymaps: doc: add backticks around `noremap` Co-authored-by: Matt Sturgeon --- lib/keymap-helpers.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/keymap-helpers.nix b/lib/keymap-helpers.nix index d389cde8..13fb8dd6 100644 --- a/lib/keymap-helpers.nix +++ b/lib/keymap-helpers.nix @@ -17,9 +17,9 @@ rec { unique = nixvimOptions.defaultNullOpts.mkBool false "Whether to fail if the map is already defined. Equivalent to adding `` to a map."; - noremap = nixvimOptions.defaultNullOpts.mkBool true "Whether to use the 'noremap' variant of the command, ignoring any custom mappings on the defined action. It is highly advised to keep this on, which is the default."; + noremap = nixvimOptions.defaultNullOpts.mkBool true "Whether to use the `noremap` variant of the command, ignoring any custom mappings on the defined action. It is highly advised to keep this on, which is the default."; - remap = nixvimOptions.defaultNullOpts.mkBool false "Make the mapping recursive. Inverses \"noremap\""; + remap = nixvimOptions.defaultNullOpts.mkBool false "Make the mapping recursive. Inverses `noremap`."; desc = nixvimOptions.mkNullOrOption types.str "A textual description of this keybind, to be shown in which-key, if you have it.";