mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
feat: change flutter-tools to be enabled by default instead of dart's lsp
This commit is contained in:
parent
e108df3ba4
commit
9af9bd7f3a
1 changed files with 6 additions and 6 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue