From a53a44bf135ac766facffbc5d44b92fc4390b574 Mon Sep 17 00:00:00 2001 From: Nowaaru Date: Mon, 4 Nov 2024 00:06:41 -0700 Subject: [PATCH] utility/precognition: fix typos, manual fmt --- .../motion/precognition/precognition.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/modules/plugins/utility/motion/precognition/precognition.nix b/modules/plugins/utility/motion/precognition/precognition.nix index 28d8670..8f588a5 100644 --- a/modules/plugins/utility/motion/precognition/precognition.nix +++ b/modules/plugins/utility/motion/precognition/precognition.nix @@ -1,22 +1,19 @@ -{ lib, ... }: - -let +{lib, ...}: let inherit (lib.options) mkEnableOption mkOption literalExpression; inherit (lib.types) attrsOf listOf str bool int submodule; -in -{ +in { options.vim.utility.motion.precognition = rec { enable = mkEnableOption "precognition.nvim plugin"; startVisible = mkOption { type = bool; - description = "Whether to start 'precognition' automatically."; + description = "Whether to start 'precognition' automatically."; default = true; }; showBlankVirtLine = mkOption { type = bool; - description = "Whether to show a blank virtual line when no movements are shown."; + description = "Whether to show a blank virtual line when no movements are shown."; default = true; }; @@ -26,9 +23,9 @@ in example = literalExpression '' { link = "Comment"; } # or - { foreground = "#0000FF", background = "#000000" }; + { foreground = "#0000FF"; background = "#000000"; }; ''; - default = { link = "Comment"; }; + default = {link = "Comment";}; description = "The highlight for the virtual text."; }; @@ -53,7 +50,7 @@ in disabled_fts = mkOption { type = listOf str; - default = [ "startify" ]; + default = ["startify"]; example = literalExpression ''[ "startify" ]''; };