mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
plugins/dial: init
This commit is contained in:
parent
7a6c5b4803
commit
19528509e5
2 changed files with 37 additions and 0 deletions
25
tests/test-sources/plugins/by-name/dial/default.nix
Normal file
25
tests/test-sources/plugins/by-name/dial/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
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" } }),
|
||||
},
|
||||
})
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue