mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
utility/precognition: format
This commit is contained in:
parent
b0641a8c0b
commit
e43b18cb9f
1 changed files with 2 additions and 4 deletions
|
@ -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.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue