summaryrefslogtreecommitdiff
path: root/package.json
blob: 158e167b918bdd72cb7025c37ca8fadf2e064946 (plain)
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
{
	"name": "lua",
	"displayName": "Lua",
	"description": "Lua Language Server coded by Lua",
	"author": "sumneko",
	"icon": "images/logo.png",
	"license": "MIT",
	"version": "0.8.11",
	"repository": {
		"type": "git",
		"url": "https://github.com/sumneko/lua-language-server"
	},
	"publisher": "sumneko",
	"categories": [
		"Linters",
		"Programming Languages",
		"Snippets"
	],
	"keywords": [
		"Lua",
		"LSP",
		"GoTo Definition",
		"IntelliSense"
	],
	"engines": {
		"vscode": "^1.23.0"
	},
	"activationEvents": [
		"onLanguage:lua"
	],
	"main": "./client/out/extension",
	"contributes": {
		"configuration": {
			"type": "object",
			"title": "Lua",
			"properties": {
				"Lua.runtime.version": {
					"scope": "resource",
					"type": "string",
					"default": "Lua 5.3",
					"enum": [
						"Lua 5.1",
						"Lua 5.2",
						"Lua 5.3",
						"Lua 5.4",
						"LuaJIT"
					],
					"description": "Lua runtime version.\nLua运行版本。"
				},
				"Lua.runtime.path": {
					"scope": "resource",
					"type": "array",
					"items": "string",
					"description": "package.path",
					"default": [
						"?.lua",
						"?/init.lua",
						"?/?.lua"
					]
				},
				"Lua.diagnostics.disable": {
					"scope": "resource",
					"type": "array",
					"items": "string",
					"description": "Disabled diagnostic (Use code in hover brackets).\n禁用的诊断(使用浮框括号内的代码)。"
				},
				"Lua.diagnostics.globals": {
					"scope": "resource",
					"type": "array",
					"items": "string",
					"description": "Defined global variables.\n已定义的全局变量。"
				},
				"Lua.workspace.ignoreDir": {
					"scope": "resource",
					"type": "array",
					"items": "string",
					"description": "Ignored directories.\n忽略的目录。"
				},
				"Lua.workspace.ignoreSubmodules": {
					"scope": "resource",
					"type": "boolean",
					"default": true,
					"description": "Ignore submodules.\n忽略子模块。"
				},
				"Lua.workspace.useGitIgnore": {
					"scope": "resource",
					"type": "boolean",
					"default": true,
					"description": "Ignore files list in \".gitignore\" .\n忽略 \".gitignore\" 中列举的文件。"
				},
				"Lua.workspace.maxPreload": {
					"scope": "resource",
					"type": "integer",
					"default": 300,
					"description": "Max preloaded files.\n最大预加载文件数。"
				},
				"Lua.workspace.preloadFileSize": {
					"scope": "resource",
					"type": "integer",
					"default": 100,
					"description": "Skip files larger than this value (KB) when preloading.\n预加载时跳过大小大于该值(KB)的文件。"
				}
			}
		}
	},
	"scripts": {
		"vscode:prepublish": "cd client && npm run update-vscode && cd .."
	},
	"__metadata": {
		"id": "3a15b5a7-be12-47e3-8445-88ee3eabc8b2",
		"publisherDisplayName": "sumneko",
		"publisherId": "fb626675-24cf-4881-8c13-b465f29bec2f"
	}
}