plugins/flutter-tools: update settingsExample

This commit is contained in:
Gaetan Lepage 2025-01-15 00:10:12 +01:00 committed by nix-infra-bot
parent a1b44cfdf4
commit 4f2d78fcaf
2 changed files with 32 additions and 34 deletions

View file

@ -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;
};
};
}

View file

@ -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;
};
};
};
};