Skip to content

Commit 3c82158

Browse files
Prepare 2.0.1 release
1 parent 7646b26 commit 3c82158

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to the "vsc-expressionengine" extension will be documented i
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## 2.0.1 - 2019-4-12
9+
### Bug fix
10+
- Corrected variable-tag syntax pattern to allow for paramters
11+
812
## 2.0.0 - 2019-4-12
913
### New Features
1014
- Added new IntelliSense features for code auto-completion!

syntaxes/ee.tmLanguage.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"include": "#conditionals-tags-opening-closing"
3535
},
3636
{
37-
"include": "#variable"
37+
"include": "#variable-tag"
3838
},
3939
{
4040
"include": "#layout-set-tag"
@@ -240,14 +240,26 @@
240240
}
241241
}]
242242
},
243-
"variable": {
243+
"variable-tag": {
244244
"patterns": [{
245-
"match": "{\/?(?!if|\\s)([a-zA-Z:\\?_-]*)}",
245+
"begin": "{/?([:\\w]+)",
246+
"end": "}",
246247
"captures": {
247248
"1": {
248249
"name": "entity.name.tag.ee"
249250
}
250-
}
251+
},
252+
"patterns": [
253+
{
254+
"include": "#double-quotes"
255+
},
256+
{
257+
"include": "#single-quotes"
258+
},
259+
{
260+
"include": "#tag-parameter"
261+
}
262+
]
251263
}]
252264
}
253265
}

0 commit comments

Comments
 (0)