treewide: apply linter suggestions
This commit is contained in:
parent
aca6fcdaff
commit
1d333fc92e
39 changed files with 54 additions and 59 deletions
|
|
@ -223,7 +223,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
renamedSettings = lib.foldl' (
|
||||
acc: optPath:
|
||||
let
|
||||
snakeCasePath = builtins.map lib.nixvim.toSnakeCase optPath;
|
||||
snakeCasePath = map lib.nixvim.toSnakeCase optPath;
|
||||
optValue = lib.getAttrFromPath optPath cfg.settings;
|
||||
in
|
||||
lib.recursiveUpdate acc (lib.setAttrByPath snakeCasePath optValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue