Skip to content

Commit

Permalink
Update key word
Browse files Browse the repository at this point in the history
  • Loading branch information
explooosion committed Jun 9, 2018
1 parent 8819cfa commit 68c0be9
Show file tree
Hide file tree
Showing 5 changed files with 5,276 additions and 45 deletions.
19 changes: 14 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Change Log
All notable changes to the "poe-filter" extension will be documented in this file.

## [0.0.4] - 2017-11-17
### Changed
- update readme.
## Update

## [released] - 2017-11-17
- Initial release
### 2018-06-09 - `0.1.0`
- Update key word

### 2017-11-17 - `0.0.4`
- Update readme

## Released

### 2017-11-17
- Initial release

### 2018-06-09
- Update key word ([NeverSink-Filter](https://github.com/NeverSinkDev/NeverSink-Filter))
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "poe-filter",
"displayName": "POE Filter",
"description": "Syntax support for POE filter.",
"version": "0.0.4",
"version": "0.1.0",
"license": "MIT",
"author": "Robby",
"publisher": "robby",
"engines": {
"vscode": "^1.18.0"
},
"categories": [
"Languages"
"Formatters"
],
"icon": "images/logo.png",
"repository": {
Expand Down
63 changes: 25 additions & 38 deletions syntaxes/Filter.tmLanguage.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "Filter",
"patterns": [
{
"patterns": [{
"include": "#operator"
},
{
Expand All @@ -23,58 +22,46 @@
],
"repository": {
"operator": {
"patterns": [
{
"name": "keyword",
"match": "(=|<|>)"
}
]
"patterns": [{
"name": "keyword",
"match": "(=|<|>)"
}]
},
"number": {
"patterns": [
{
"name": "entity.name.function",
"match": "(1|2|3|4|5|6|7|8|9|0|Rare|Unique|Normal)"
}
]
"patterns": [{
"name": "entity.name.function",
"match": "(1|2|3|4|5|6|7|8|9|0|Rare|Unique|Normal|Magic|RGB|Maps)"
}]
},
"keywords": {
"patterns": [
{
"name": "keyword",
"match": "\\b(Show|Hide)\\b"
}
]
"patterns": [{
"name": "keyword",
"match": "\\b(Show|Hide)\\b"
}]
},
"attribute": {
"patterns": [
{
"name": "variable",
"match": "\\b(LinkedSockets|SetTextColor|SetBackgroundColor|SetBorderColor|SetFontSize|PlayAlertSound|BaseType|Class|Rarity|ItemLevel|DropLevel|Sockets|SocketGroup|Width|Height|Quality)\\b"
}
]
"patterns": [{
"name": "variable",
"match": "\\b(LinkedSockets|SetTextColor|SetBackgroundColor|SetBorderColor|SetFontSize|PlayAlertSound|BaseType|Class|Rarity|ItemLevel|DropLevel|Sockets|SocketGroup|Width|Height|Quality|Corrupted|GemLevel|ShapedMap|Identified|HasExplicitMod|ShaperItem)\\b"
}]
},
"strings": {
"name": "string",
"begin": "\"",
"end": "\"",
"patterns": [
{
"name": "string",
"match": "\\\\"
}
]
"patterns": [{
"name": "string",
"match": "\\\\"
}]
},
"comment-line": {
"name": "comment",
"begin": "#",
"end": "\n",
"patterns": [
{
"name": "comment",
"match": "\\\\"
}
]
"patterns": [{
"name": "comment",
"match": "\\\\"
}]
}
},
"scopeName": "source.filter"
Expand Down
Loading

0 comments on commit 68c0be9

Please sign in to comment.