From 9af9bd7f3ae1813f255c11f24b66eed76dad4ac9 Mon Sep 17 00:00:00 2001 From: FlafyDev Date: Tue, 18 Apr 2023 15:00:46 +0300 Subject: [PATCH] feat: change flutter-tools to be enabled by default instead of dart's lsp --- modules/languages/dart/dart.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/languages/dart/dart.nix b/modules/languages/dart/dart.nix index 79452e7..89e02d1 100644 --- a/modules/languages/dart/dart.nix +++ b/modules/languages/dart/dart.nix @@ -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";