mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
helpers: add highlightType and defaultNullOpts.mkHighlight
This commit is contained in:
parent
9349da2714
commit
36a6ab4ba7
2 changed files with 44 additions and 1 deletions
|
@ -8,7 +8,7 @@ in
|
|||
with lib; {
|
||||
options = {
|
||||
highlight = mkOption {
|
||||
type = types.attrsOf types.anything;
|
||||
type = types.attrsOf helpers.highlightType;
|
||||
default = {};
|
||||
description = "Define highlight groups";
|
||||
example = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue