treewide: Reformat with nixfmt

This commit is contained in:
traxys 2024-05-05 19:39:35 +02:00
parent c6281260dc
commit 62f32bfc71
459 changed files with 28139 additions and 26377 deletions

View file

@ -5,9 +5,11 @@
pkgs,
...
}:
with lib; let
with lib;
let
cfg = config.plugins.quickmath;
in {
in
{
options.plugins.quickmath = {
enable = mkEnableOption "quickmath.nvim";
@ -25,11 +27,11 @@ in {
};
config = mkIf cfg.enable {
extraPlugins = [cfg.package];
extraPlugins = [ cfg.package ];
keymaps = with cfg.keymap;
optional (key != null)
{
keymaps =
with cfg.keymap;
optional (key != null) {
mode = "n";
inherit key;
action = ":Quickmath<CR>";