statix, deadnix, alejandra

This commit is contained in:
Gerg-L 2024-07-08 17:08:13 -04:00
commit 6d93ed03c4
No known key found for this signature in database
24 changed files with 28 additions and 61 deletions

View file

@ -1,8 +1,4 @@
{
config,
lib,
...
}: let
{lib, ...}: let
inherit (lib.options) mkEnableOption;
in {
options.vim.binds.cheatsheet = {

View file

@ -8,7 +8,7 @@
cfg = config.vim.binds.cheatsheet;
in {
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
vim.startPlugins = ["cheatsheet-nvim"];
vim.luaConfigRC.cheaetsheet-nvim = entryAnywhere ''

View file

@ -10,7 +10,7 @@
cfg = config.vim.binds.whichKey;
in {
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
vim.startPlugins = ["which-key"];
vim.luaConfigRC.whichkey = entryAnywhere ''
@ -23,7 +23,7 @@ in {
["<tab>"] = "TAB",
},
${optionalString (config.vim.ui.borders.plugins.which-key.enable) ''
${optionalString config.vim.ui.borders.plugins.which-key.enable ''
window = {
border = "${config.vim.ui.borders.plugins.which-key.style}",
},

View file

@ -1,8 +1,4 @@
{
config,
lib,
...
}: let
{lib, ...}: let
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types) attrsOf nullOr str;
in {