mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 21:34:33 +02:00
plugins/null-ls: refactoring + tests (#251)
This commit is contained in:
parent
9d68949da7
commit
45bd82602e
2 changed files with 256 additions and 28 deletions
29
tests/plugins/null-ls.nix
Normal file
29
tests/plugins/null-ls.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
# Empty configuration
|
||||
empty = {
|
||||
plugins.null-ls.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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue