mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +02:00
module/keymaps: no need to set options = {}
This commit is contained in:
parent
69b3a13532
commit
a9698ea2b0
1 changed files with 1 additions and 5 deletions
|
@ -129,17 +129,13 @@ in {
|
|||
(keyMapping)
|
||||
mode
|
||||
key
|
||||
options
|
||||
;
|
||||
|
||||
action =
|
||||
if keyMapping.lua
|
||||
then helpers.mkRaw keyMapping.action
|
||||
else keyMapping.action;
|
||||
|
||||
options =
|
||||
if keyMapping.options == {}
|
||||
then helpers.emptyTable
|
||||
else keyMapping.options;
|
||||
};
|
||||
in
|
||||
map normalizeMapping
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue