-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
210 lines (210 loc) · 6.26 KB
/
package.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "coc-snippets",
"version": "3.1.10",
"description": "Snippets extension for coc.nvim",
"main": "lib/index.js",
"publisher": "chemzqm",
"keywords": [
"coc.nvim",
"snippets",
"colors"
],
"engines": {
"coc": "^0.0.80"
},
"scripts": {
"prepare": "node esbuild.js"
},
"activationEvents": [
"*"
],
"contributes": {
"commands": [
{
"title": "Edit user's ultisnips snippets of current document filetype.",
"command": "snippets.editSnippets"
},
{
"title": "Choose and open a snippet file that used by current document.",
"command": "snippets.openSnippetFiles"
},
{
"title": "Open output channel of snippets.",
"command": "snippets.openOutput"
},
{
"title": "Create MassCode snippet for current filetype.",
"command": "snippets.editMassCodeSnippets"
}
],
"configuration": {
"type": "object",
"properties": {
"snippets.priority": {
"type": "number",
"default": 90,
"description": "Completion source priority of snippets."
},
"snippets.editSnippetsCommand": {
"type": "string",
"default": "",
"description": "Open command used for snippets.editSnippets command, use coc.preferences.jumpCommand by default."
},
"snippets.trace": {
"type": "string",
"default": "error",
"enum": [
"error",
"verbose"
],
"description": "Trace level of snippets channel, used for textmate snippets only."
},
"snippets.excludePatterns": {
"type": "array",
"default": [],
"description": "List of minimatch patterns for filepath to exclude, support expand homedir and environment variables.",
"items": {
"type": "string"
}
},
"snippets.loadFromExtensions": {
"type": "boolean",
"default": true,
"description": "Enable load snippets from extensions."
},
"snippets.textmateSnippetsRoots": {
"type": "array",
"default": [],
"description": "List of directories that contains textmate/VSCode snippets to load.",
"items": {
"type": "string"
}
},
"snippets.loadVSCodeProjectSnippets": {
"type": "boolean",
"default": true,
"description": "Load code snippets in folder ${workspaceFolder}/.vscode"
},
"snippets.extends": {
"type": "object",
"default": {},
"description": "Configure filetypes to inherit with, ex: {\"cpp\": [\"c\"], \"javascriptreact\": [\"javascript\"]}"
},
"snippets.userSnippetsDirectory": {
"type": "string",
"default": "",
"description": "Directory that contains custom user ultisnips snippets, use ultisnips in extension root of coc.nvim by default."
},
"snippets.shortcut": {
"type": "string",
"default": "S",
"description": "Shortcut in completion menu."
},
"snippets.triggerCharacters": {
"type": "array",
"default": [],
"description": "Trigger characters for trigger snippets completion.",
"items": {
"type": "string"
}
},
"snippets.autoTrigger": {
"type": "boolean",
"default": true,
"description": "Enable trigger auto trigger snippet after type character."
},
"snippets.ultisnips.enable": {
"type": "boolean",
"default": true,
"description": "Enable load snippets from ultisnips folders."
},
"snippets.ultisnips.pythonPrompt": {
"type": "boolean",
"default": true,
"description": "Show prompt for user when python not supported on vim."
},
"snippets.ultisnips.trace": {
"type": "boolean",
"default": false,
"description": "Trace verbose snippet information."
},
"snippets.ultisnips.directories": {
"type": "array",
"default": [
"UltiSnips"
],
"description": "Directories that searched for ultisnips snippet files, could be directory as subfolder in $runtimepath or absolute paths.",
"items": {
"type": "string"
}
},
"snippets.massCode.enable": {
"type": "boolean",
"default": false,
"description": "Enable load snippets from MassCode."
},
"snippets.massCode.host": {
"type": "string",
"default": "localhost",
"description": "Http host of MassCode."
},
"snippets.massCode.port": {
"type": "number",
"default": 3033,
"description": "Http port of MassCode."
},
"snippets.massCode.trace": {
"type": "boolean",
"default": false,
"description": "Trace verbose snippet information."
},
"snippets.snipmate.enable": {
"type": "boolean",
"default": true,
"description": "Load snipmate snippets from snippets directory in runtimepath."
},
"snippets.snipmate.trace": {
"type": "boolean",
"default": false,
"description": "Trace verbose snippet information."
},
"snippets.snipmate.author": {
"type": "string",
"default": "",
"description": "Author name used for g:snips_author"
}
}
}
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"json",
"js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "tests/.*\\.ts$"
},
"author": "[email protected]",
"license": "MIT",
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/pify": "^5.0.1",
"@types/uuid": "^8.3.4",
"coc.nvim": "^0.0.83-next.14",
"esbuild": "^0.14.27",
"jest": "^27.5.1",
"jsonc-parser": "^3.0.0",
"merge": "^2.1.1",
"minimatch": "^5.0.1",
"pify": "^5.0.0",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
},
"dependencies": {}
}