1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/plugins/by-name/flutter-tools/settings-options.nix
saygo-png 0dd3843bd6 plugins/flutter-tools: remove most settings declarations
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-04 22:00:38 +00:00

33 lines
854 B
Nix

lib:
let
inherit (lib.nixvim) defaultNullOpts;
in
{
debugger = {
register_configurations = defaultNullOpts.mkRaw' {
pluginDefault = null;
example = ''
function(paths)
require("dap").configurations.dart = {
--put here config that you would find in .vscode/launch.json
}
-- If you want to load .vscode launch.json automatically run the following:
-- require("dap.ext.vscode").load_launchjs()
end
'';
description = ''
Function to register configurations.
'';
};
};
dev_log = {
filter = defaultNullOpts.mkRaw null ''
Optional callback to filter the log.
Takes a `log_line` as string argument; returns a boolean or `nil`.
The `log_line` is only added to the output if the function returns `true`.
'';
};
}