nix-community.nixvim/tests/test-sources/plugins/null-ls.nix
2023-03-22 07:42:02 +01:00

39 lines
828 B
Nix

{
# Empty configuration
empty = {
plugins.null-ls.enable = true;
};
# Broken:
# error: The option `plugins.null-ls.sources.formatting.beautysh' does not exist.
#
# beautysh = {
# plugins.null-ls = {
# enable = true;
# sources.formatting.beautysh.enable = true;
# };
# };
default = {
plugins.null-ls = {
enable = true;
border = null;
cmd = ["nvim"];
debounce = 250;
debug = false;
defaultTimeout = 5000;
diagnosticConfig = null;
diagnosticsFormat = "#{m}";
fallbackSeverity = "error";
logLevel = "warn";
notifyFormat = "[null-ls] %s";
onAttach = null;
onInit = null;
onExit = null;
rootDir = null;
shouldAttach = null;
tempDir = null;
updateInInsert = false;
};
};
}