-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
141 lines (141 loc) · 4.18 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
{
"name": "coc-ds-pinyin-lsp",
"version": "0.4.1",
"description": "pinyin input support for (Neo)vim",
"author": "iamcco <[email protected]>",
"license": "MIT",
"main": "out/index.js",
"keywords": [
"coc.nvim",
"pinyin",
"lsp"
],
"engines": {
"coc": "^0.0.82"
},
"scripts": {
"clean": "rimraf ./out",
"watch": "cross-env NODE_ENV=development node esbuild.js --watch",
"build": "cross-env NODE_ENV=production node esbuild.js",
"lint": "eslint src",
"lint-fix": "eslint --fix src",
"prepare": "npm run clean && npm run build"
},
"contributes": {
"configuration": {
"type": "object",
"title": "ds-pinyin-lsp configuration",
"properties": {
"ds-pinyin-lsp.trace.server": {
"type": "string",
"default": "off",
"enum": [
"off",
"message",
"verbose"
],
"description": "Trace level of log"
},
"ds-pinyin-lsp.enabled": {
"type": "boolean",
"default": true,
"description": "Enable coc-ds-pinyin-lsp extension"
},
"ds-pinyin-lsp.show_status_bar": {
"type": "boolean",
"default": true,
"description": "Show Pinyin in status bar"
},
"ds-pinyin-lsp.status_bar_flag": {
"type": "string",
"default": "Pinyin",
"description": "Flag show in status bar"
},
"ds-pinyin-lsp.db_path": {
"type": "string",
"default": "",
"description": "db path"
},
"ds-pinyin-lsp.completion_on": {
"type": "boolean",
"default": true,
"description": "If enable auto completion"
},
"ds-pinyin-lsp.completion_around_mode": {
"type": "boolean",
"default": false,
"description": "If enable around mode for autocompletion"
},
"ds-pinyin-lsp.completion_trigger_characters": {
"type": "string",
"default": "",
"description": "Trigger characters for trigger autocompletion"
},
"ds-pinyin-lsp.show_symbols": {
"type": "boolean",
"default": true,
"description": "If show Chinese symbols"
},
"ds-pinyin-lsp.show_symbols_only_follow_by_hanzi": {
"type": "boolean",
"default": false,
"description": "If only show Chinese symbols follow by hanzi"
},
"ds-pinyin-lsp.show_symbols_by_n_times": {
"type": "number",
"default": 0,
"description": "If show Chinese symbols by input n times"
},
"ds-pinyin-lsp.match_as_same_as_input": {
"type": "boolean",
"default": false,
"description": "If only show the items match the same as input"
},
"ds-pinyin-lsp.match_long_input": {
"type": "boolean",
"default": true,
"description": "If show items for the long input"
},
"ds-pinyin-lsp.max_suggest": {
"type": "integer",
"default": 50,
"description": "Max number of autocompletion items"
},
"ds-pinyin-lsp.server_path": {
"type": "string",
"default": "",
"description": "Path to ds-pinyin-lsp command"
},
"ds-pinyin-lsp.check_on_startup": {
"type": "boolean",
"default": true,
"description": "Check ds-pinyin-lsp release on start up"
},
"ds-pinyin-lsp.prompt": {
"type": "boolean",
"default": true,
"description": "Allow prompt?"
}
}
}
},
"devDependencies": {
"@types/node": "^10.12.0",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"coc.nvim": "^0.0.82",
"cross-env": "^7.0.3",
"esbuild": "^0.9.0",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"https-proxy-agent": "^5.0.1",
"node-fetch": "^2.6.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"typescript": "^4.2.2",
"vscode-languageserver-protocol": "^3.16.0",
"which": "^3.0.0",
"extract-zip": "^2.0.1"
}
}