diff --git a/examples/example.lua b/examples/example.lua new file mode 100644 index 0000000..c6a9c43 --- /dev/null +++ b/examples/example.lua @@ -0,0 +1,20 @@ +if(hello and world or not telephone == true) then +end + + +-- OI +"Hi" +0 +_G +local hello = "" + +local m = 5 + 5 +AND +OR +NOT + +and +or +not +== +~= \ No newline at end of file diff --git a/package.json b/package.json index 8a5c992..9e14f52 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mtasa-lua", "displayName": "MTA:SA Lua", "description": "MTA:SA Lua Syntax Highlighting + Snippets", - "version": "0.1.0", + "version": "1.0.0", "publisher": "subtixx", "license": "GPL v3.0", "icon": "images/logo.png", @@ -21,21 +21,21 @@ "engines": { "vscode": "^1.18.0" }, - "activationEvents": [ - "*" - ], - "main": "./out/extension", - "scripts": { - "vscode:prepublish": "tsc -p ./", - "compile": "tsc -watch -p ./", - "postinstall": "node ./node_modules/vscode/bin/install", - "tslint": "tslint -c tslint.json src/extension.ts" - }, - "devDependencies": { - "typescript": "^2.1.4", - "vscode": "^1.1.10", - "@types/node": "^6.0.40" - }, + "activationEvents": [ + "*" + ], + "main": "./out/extension", + "scripts": { + "vscode:prepublish": "tsc -p ./", + "compile": "tsc -watch -p ./", + "postinstall": "node ./node_modules/vscode/bin/install", + "tslint": "tslint -c tslint.json src/extension.ts" + }, + "devDependencies": { + "typescript": "^2.1.4", + "vscode": "^1.1.10", + "@types/node": "^6.0.40" + }, "categories": [ "Languages", "Themes", diff --git a/themes/Dark-MTA-Edit.json b/themes/Dark-MTA-Edit.json index a067bc5..146d58b 100644 --- a/themes/Dark-MTA-Edit.json +++ b/themes/Dark-MTA-Edit.json @@ -3,6 +3,19 @@ "name": "Dark MTA Edit (Visual Studio)", "include": "./dark_vs.json", "tokenColors":[ + { + "scope": "constant.language", + "settings": { + "foreground": "#566dd6" + } + }, + { + "name": "Keyword", + "scope": "keyword.operator", + "settings": { + "foreground": "#4887bb" + } + }, { "name": "Function Name", "scope": "entity.name.function",