-
Notifications
You must be signed in to change notification settings - Fork 3
/
schema.json
80 lines (80 loc) · 2.34 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://dotfyle.com/metadata-schema.json",
"title": "Dotfyle Metadata",
"description": "Metadata information generated by dotfyle-metadata.nvim plugin",
"type": "object",
"required": ["plugins", "pluginManager", "leaderKey", "lspServers", "treesitterParsers", "keymaps", "masonTools"],
"properties": {
"plugins": {
"description": "List of plugins installed by the user.",
"type": "array",
"items": {
"type": "string"
}
},
"pluginManager": {
"description": "Name of the plugin manager used to install plugins.",
"type": "string"
},
"leaderKey": {
"description": "Leader key used by the user.",
"type": "string"
},
"lspServers": {
"description": "List of LSP servers setup by the user via nvim-lspconfig plugin.",
"type": "array",
"items": {
"type": "string"
}
},
"treesitterParsers": {
"description": "List of tree-sitter parsers installed by the user via nvim-treesitter plugin.",
"type": "array",
"items": {
"type": "string"
}
},
"keymaps": {
"description": "User defined keymaps.",
"type": "array",
"items": {
"type": "object",
"required": ["rhs", "lhs", "mode", "noremap"],
"properties": {
"desc": {
"description": "Description of the keymap.",
"type": "string"
},
"rhs": {
"description": "Right-hand side of the keymap, the command to execute.",
"type": "string"
},
"lhs": {
"description": "Left-hand side of the keymap, the key to use.",
"type": "string"
},
"mode": {
"description": "Which mode this keymap will be executed from.",
"type": "string"
},
"noremap": {
"description": "Is the keymap is a non-recursive keymap.",
"type": "boolean"
}
}
}
},
"masonTools": {
"description": "List LSP servers and tools installed by mason.nvim plugin.",
"type": "array",
"items": {
"type": "string"
}
},
"distribution": {
"description": "The detected distribution of the user's neovim setup.",
"type": "string"
}
}
}