Skip to content

Commit

Permalink
Fixed operator keyword colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Subtixx committed Feb 17, 2018
1 parent 71d1707 commit bf8ccfc
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 16 deletions.
20 changes: 20 additions & 0 deletions examples/example.lua
Original file line number Diff line number Diff line change
@@ -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
==
~=
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
13 changes: 13 additions & 0 deletions themes/Dark-MTA-Edit.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bf8ccfc

Please sign in to comment.