mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-14 05:55:59 +01:00
36 lines
776 B
Nix
36 lines
776 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}:
|
||
|
with lib;
|
||
|
with builtins; {
|
||
|
options.vim.lsp.dart.flutter-tools = {
|
||
|
color = {
|
||
|
enable = mkEnableOption "Whether or mot to highlight color variables at all";
|
||
|
|
||
|
highlightBackground = mkOption {
|
||
|
type = types.bool;
|
||
|
default = false;
|
||
|
description = "Highlight the background";
|
||
|
};
|
||
|
|
||
|
highlightForeground = mkOption {
|
||
|
type = types.bool;
|
||
|
default = false;
|
||
|
description = "Highlight the foreground";
|
||
|
};
|
||
|
|
||
|
virtualText = {
|
||
|
enable = mkEnableOption "Show the highlight using virtual text";
|
||
|
|
||
|
character = mkOption {
|
||
|
type = types.str;
|
||
|
default = "■";
|
||
|
description = "Virtual text character to highlight";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|