mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16:46 +00:00
utility/precognition: fix typos, manual fmt
This commit is contained in:
parent
ffc8045d8c
commit
a53a44bf13
1 changed files with 7 additions and 10 deletions
|
@ -1,22 +1,19 @@
|
||||||
{ lib, ... }:
|
{lib, ...}: let
|
||||||
|
|
||||||
let
|
|
||||||
inherit (lib.options) mkEnableOption mkOption literalExpression;
|
inherit (lib.options) mkEnableOption mkOption literalExpression;
|
||||||
inherit (lib.types) attrsOf listOf str bool int submodule;
|
inherit (lib.types) attrsOf listOf str bool int submodule;
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
options.vim.utility.motion.precognition = rec {
|
options.vim.utility.motion.precognition = rec {
|
||||||
enable = mkEnableOption "precognition.nvim plugin";
|
enable = mkEnableOption "precognition.nvim plugin";
|
||||||
|
|
||||||
startVisible = mkOption {
|
startVisible = mkOption {
|
||||||
type = bool;
|
type = bool;
|
||||||
description = "Whether to start 'precognition' automatically.";
|
description = "Whether to start 'precognition' automatically.";
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
showBlankVirtLine = mkOption {
|
showBlankVirtLine = mkOption {
|
||||||
type = bool;
|
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;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,9 +23,9 @@ in
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
{ link = "Comment"; }
|
{ link = "Comment"; }
|
||||||
# or
|
# or
|
||||||
{ foreground = "#0000FF", background = "#000000" };
|
{ foreground = "#0000FF"; background = "#000000"; };
|
||||||
'';
|
'';
|
||||||
default = { link = "Comment"; };
|
default = {link = "Comment";};
|
||||||
description = "The highlight for the virtual text.";
|
description = "The highlight for the virtual text.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -53,7 +50,7 @@ in
|
||||||
|
|
||||||
disabled_fts = mkOption {
|
disabled_fts = mkOption {
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
default = [ "startify" ];
|
default = ["startify"];
|
||||||
example = literalExpression ''[ "startify" ]'';
|
example = literalExpression ''[ "startify" ]'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue