feat: change flutter-tools to be enabled by default instead of dart's lsp

This commit is contained in:
FlafyDev 2023-04-18 15:00:46 +03:00
parent e108df3ba4
commit 9af9bd7f3a

View file

@ -35,11 +35,7 @@ in {
};
lsp = {
enable = mkOption {
description = "Enable Dart LSP support";
type = types.bool;
default = config.vim.languages.enableLSP;
};
enable = mkEnableOption "Enable Dart LSP support";
server = mkOption {
description = "The Dart LSP server to use";
type = with types; enum (attrNames servers);
@ -58,7 +54,11 @@ in {
};
flutter-tools = {
enable = mkEnableOption "Enable flutter-tools for flutter support";
enable = mkOption {
description = "Enable flutter-tools for flutter support";
type = types.bool;
default = config.vim.languages.enableLSP;
};
color = {
enable = mkEnableOption "Whether or mot to highlight color variables at all";