nix-community.nixvim/tests/test-sources/plugins/by-name/dial/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
581 B
Nix
Raw Normal View History

2025-04-29 00:48:55 +02:00
{
empty = {
plugins.dial.enable = true;
};
example = {
plugins.dial = {
enable = true;
luaConfig.content = ''
local augend = require("dial.augend")
require("dial.config").augends:register_group({
default = {
augend.integer.alias.decimal,
augend.integer.alias.hex,
augend.date.alias["%Y/%m/%d"],
augend.constant.alias.bool,
augend.semver.alias.semver,
augend.constant.new({ elements = { "let", "const" } }),
},
})
'';
};
};
}