summaryrefslogtreecommitdiff
path: root/package.json
blob: c6e37c0776f674c373e1ba808f15fd806c195d82 (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
{
	"name": "lua",
	"displayName": "Lua",
	"description": "Lua Language Server for VSCode",
	"author": "sumneko",
	"icon": "images/logo.png",
	"license": "MIT",
	"version": "0.3.8",
	"repository": {
		"type": "git",
		"url": "https://github.com/sumneko/vscode-lua-language-server"
	},
	"publisher": "sumneko",
	"categories": [
		"Linters",
		"Programming Languages"
	],
	"keywords": [
		"lua",
		"language",
		"server",
		"definition"
	],
	"engines": {
		"vscode": "^1.23.0"
	},
	"activationEvents": [
		"onLanguage:lua"
	],
	"main": "./client/out/extension",
	"contributes": {
		"configuration": {
			"type": "object",
			"title": "Lua",
			"properties": {
				"Lua.diagnostics.postSpcae": {
					"scope": "resource",
					"type": "boolean",
					"default": true,
					"description": "Check post spaces.\n检查后置空格。"
				},
				"Lua.diagnostics.spaceOnlyLine": {
					"scope": "resource",
					"type": "boolean",
					"default": true,
					"description": "Check space-only lines.\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忽略的目录。"
				}
			}
		}
	},
	"scripts": {
		"vscode:prepublish": "cd client && npm run update-vscode && cd .."
	}
}