UNPKG

4.2 kBJSONView Raw
1{
2 "name": "coc-snippets",
3 "version": "1.0.19",
4 "description": "Snippets extension for coc.nvim",
5 "main": "lib/index.js",
6 "publisher": "chemzqm",
7 "keywords": [
8 "coc.nvim",
9 "snippets",
10 "colors"
11 ],
12 "engines": {
13 "coc": "^0.0.58"
14 },
15 "scripts": {
16 "clean": "rimraf lib",
17 "build": "tsc -p tsconfig.json",
18 "prepare": "yarn clean && yarn build"
19 },
20 "activationEvents": [
21 "*"
22 ],
23 "contributes": {
24 "configuration": {
25 "type": "object",
26 "properties": {
27 "snippets.priority": {
28 "type": "number",
29 "default": 90,
30 "description": "Completion source priority of snippets."
31 },
32 "snippets.loadFromExtensions": {
33 "type": "boolean",
34 "default": true,
35 "description": "Enable load snippets from extensions."
36 },
37 "snippets.extends": {
38 "type": "object",
39 "default": {},
40 "description": "Configure filetypes to inherit with, ex: {\"cpp\": [\"c\"], \"javascriptreact\": [\"javascript\"]}"
41 },
42 "snippets.shortcut": {
43 "type": "string",
44 "default": "S",
45 "description": "Shortcut in completion menu."
46 },
47 "snippets.expandFallbackWithPum": {
48 "type": "string",
49 "default": "refresh",
50 "description": "Fallback action when expand failed and pumvisible.",
51 "enum": [
52 "refresh",
53 "confirm",
54 "next",
55 "none"
56 ]
57 },
58 "snippets.triggerCharacters": {
59 "type": "array",
60 "default": [],
61 "description": "Trigger characters for trigger snippets completion.",
62 "items": {
63 "type": "string"
64 }
65 },
66 "snippets.autoTrigger": {
67 "type": "boolean",
68 "default": true,
69 "description": "Enable trigger auto trigger snippet after type character."
70 },
71 "snippets.ultisnips.enable": {
72 "type": "boolean",
73 "default": true,
74 "description": "Enable load snippets from ultisnips folders."
75 },
76 "snippets.ultisnips.usePythonx": {
77 "type": "boolean",
78 "default": true,
79 "description": "Use :pyx command for python code when possible."
80 },
81 "snippets.ultisnips.pythonVersion": {
82 "type": "number",
83 "default": 3,
84 "description": "Python version used for python code when not using pyx."
85 },
86 "snippets.ultisnips.directories": {
87 "type": "array",
88 "default": [
89 "UltiSnips"
90 ],
91 "description": "Directories that searched for snippet files, could be directory as subfolder in $runtimepath or absolute paths.",
92 "items": {
93 "type": "string"
94 }
95 },
96 "snippets.snipmate.enable": {
97 "type": "boolean",
98 "default": true,
99 "description": "Load snipmate snippets from snippets directory in runtimepath."
100 },
101 "snippets.snipmate.author": {
102 "type": "string",
103 "default": "",
104 "description": "Author name used for g:snips_author"
105 }
106 }
107 }
108 },
109 "jest": {
110 "testEnvironment": "node",
111 "moduleFileExtensions": [
112 "ts",
113 "tsx",
114 "json",
115 "js"
116 ],
117 "transform": {
118 "^.+\\.tsx?$": "ts-jest"
119 },
120 "testRegex": "tests/.*\\.ts$"
121 },
122 "author": "chemzqm@gmail.com",
123 "license": "MIT",
124 "devDependencies": {
125 "@chemzqm/tsconfig": "^0.0.3",
126 "@chemzqm/tslint-config": "^1.0.18",
127 "@types/jest": "^24.0.9",
128 "@types/node": "^11.10.4",
129 "@types/pify": "^3.0.2",
130 "@types/uuid": "^3.4.4",
131 "@types/which": "^1.3.1",
132 "coc.nvim": "^0.0.58",
133 "jest": "^24.1.0",
134 "rimraf": "^2.6.3",
135 "ts-jest": "^24.0.0",
136 "tslint": "^5.13.1",
137 "typescript": "^3.3.3333"
138 },
139 "dependencies": {
140 "jsonc-parser": "^2.0.3",
141 "pify": "^4.0.1",
142 "tslib": "^1.9.3",
143 "uuid": "^3.3.2",
144 "vscode-languageserver": "^5.3.0-next.1",
145 "vscode-languageserver-protocol": "^3.15.0-next.1",
146 "vscode-uri": "^1.0.6",
147 "which": "^1.3.1"
148 }
149}