mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
tests/plugins: refactor (#235)
This commit is contained in:
parent
89f54be73a
commit
db5061b4db
38 changed files with 485 additions and 744 deletions
39
tests/test-sources/plugins/null-ls.nix
Normal file
39
tests/test-sources/plugins/null-ls.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
# 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue