mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
26 lines
581 B
Nix
26 lines
581 B
Nix
|
{
|
||
|
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" } }),
|
||
|
},
|
||
|
})
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|