utility/precognition: format

This commit is contained in:
Nowaaru 2024-11-05 04:15:03 -07:00
parent b0641a8c0b
commit e43b18cb9f
No known key found for this signature in database

View file

@ -1,5 +1,4 @@
{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;
inherit (lib.nvim.types) mkPluginSetupOption; inherit (lib.nvim.types) mkPluginSetupOption;
@ -42,13 +41,12 @@ in {
highlightColor = mkOption { highlightColor = mkOption {
type = attrsOf str; type = attrsOf str;
default = {link = "Comment";};
example = literalExpression '' example = literalExpression ''
{ link = "Comment"; } { link = "Comment"; }
# or # or
{ foreground = "#0000FF"; background = "#000000"; }; { foreground = "#0000FF"; background = "#000000"; };
''; '';
default = {link = "Comment";};
description = '' description = ''
The highlight for the virtual text. The highlight for the virtual text.
''; '';