diff --git a/plugins/by-name/flutter-tools/default.nix b/plugins/by-name/flutter-tools/default.nix index 8e4a34df..def7d48a 100644 --- a/plugins/by-name/flutter-tools/default.nix +++ b/plugins/by-name/flutter-tools/default.nix @@ -35,24 +35,23 @@ lib.nixvim.plugins.mkNeovimPlugin { settingsOptions = import ./settings-options.nix lib; settingsExample = { - debugger = { - enabled = true; - run_via_dap = true; - }; - widget_guides.enabled = false; - closing_tags.highlight = "Comment"; - lsp = { - on_attach = null; - capabilities.__raw = '' - function(config) - config.documentFormattingProvider = false - return config - end - ''; - settings = { - enableSnippets = false; - updateImportsOnRename = true; + decorations = { + statusline = { + app_version = true; + device = true; }; }; + dev_tools = { + autostart = true; + auto_open_browser = true; + }; + lsp.color.enabled = true; + widget_guides.enabled = true; + closing_tags = { + highlight = "ErrorMsg"; + prefix = ">"; + priority = 10; + enabled = false; + }; }; } diff --git a/tests/test-sources/plugins/by-name/flutter-tools/default.nix b/tests/test-sources/plugins/by-name/flutter-tools/default.nix index 5c3c0be8..4713b357 100644 --- a/tests/test-sources/plugins/by-name/flutter-tools/default.nix +++ b/tests/test-sources/plugins/by-name/flutter-tools/default.nix @@ -85,25 +85,24 @@ enable = true; settings = { - debugger = { - enabled = true; - run_via_dap = true; - }; - widget_guides.enabled = false; - closing_tags.highlight = "Comment"; - lsp = { - on_attach = null; - capabilities.__raw = '' - function(config) - config.documentFormattingProvider = false - return config - end - ''; - settings = { - enableSnippets = false; - updateImportsOnRename = true; + decorations = { + statusline = { + app_version = true; + device = true; }; }; + dev_tools = { + autostart = true; + auto_open_browser = true; + }; + lsp.color.enabled = true; + widget_guides.enabled = true; + closing_tags = { + highlight = "ErrorMsg"; + prefix = ">"; + priority = 10; + enabled = false; + }; }; }; };