2023-04-02 18:00:40 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
|
|
|
with builtins; {
|
|
|
|
options.vim.lsp.dart.flutter-tools = {
|
2023-04-17 20:27:27 +00:00
|
|
|
enable = mkEnableOption "Enable flutter-tools for flutter support";
|
|
|
|
|
2023-04-02 18:00:40 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|