File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
tests/test-sources/plugins/by-name/dial Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ { lib , ... } :
2+ lib . nixvim . plugins . mkNeovimPlugin {
3+ name = "dial" ;
4+ packPathName = "dial.nvim" ;
5+ package = "dial-nvim" ;
6+
7+ maintainers = [ lib . maintainers . GaetanLepage ] ;
8+
9+ # This plugin does not have a conventional setup function
10+ hasSettings = false ;
11+ callSetup = false ;
12+ }
Original file line number Diff line number Diff line change 1+ {
2+ empty = {
3+ plugins . dial . enable = true ;
4+ } ;
5+
6+ example = {
7+ plugins . dial = {
8+ enable = true ;
9+
10+ luaConfig . content = ''
11+ local augend = require("dial.augend")
12+ require("dial.config").augends:register_group({
13+ default = {
14+ augend.integer.alias.decimal,
15+ augend.integer.alias.hex,
16+ augend.date.alias["%Y/%m/%d"],
17+ augend.constant.alias.bool,
18+ augend.semver.alias.semver,
19+ augend.constant.new({ elements = { "let", "const" } }),
20+ },
21+ })
22+ '' ;
23+ } ;
24+ } ;
25+ }
You can’t perform that action at this time.
0 commit comments