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