mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-04 10:55:50 +00:00
keymaps/options: remove unnecessary option
+ tweak related release notes entry
This commit is contained in:
parent
b772282836
commit
b020980128
2 changed files with 3 additions and 8 deletions
|
|
@ -180,6 +180,7 @@ https://github.com/gorbit99/codewindow.nvim
|
|||
|
||||
[irobot](https://github.com/irobot):
|
||||
|
||||
- Add `remap` option to `vim.keymaps`
|
||||
- Fix non-functional `vim.keymaps.*.noremap`. Now, setting it to false is
|
||||
equivalent to `:lua vim.keymap.set(..., { remap = true })`
|
||||
|
||||
<!-- vim: set textwidth=80: -->
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.options) mkOption literalMD;
|
||||
inherit (lib.types) either str listOf attrsOf nullOr submodule bool;
|
||||
inherit (lib.types) either str listOf attrsOf nullOr submodule;
|
||||
inherit (lib.nvim.config) mkBool;
|
||||
|
||||
mapConfigOptions = {
|
||||
|
|
@ -25,12 +25,6 @@
|
|||
expr = mkBool false "Means that the action is actually an expression. Equivalent to adding <expr> to a map.";
|
||||
unique = mkBool false "Whether to fail if the map is already defined. Equivalent to adding <unique> to a map.";
|
||||
noremap = 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 = mkOption {
|
||||
default = false;
|
||||
type = bool;
|
||||
internal = true;
|
||||
description = "'noremap' is on by default. This option is used internally when noremap is set to false.";
|
||||
};
|
||||
};
|
||||
|
||||
mapType = submodule {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue