Skip to content

Commit

Permalink
add syntax color for double quote (#8) (#9)
Browse files Browse the repository at this point in the history
* feat: fix the issue #8

* chore: upgrade the version

* chore: make the changelog

* fix: add endline in changelog
  • Loading branch information
Tchoupinax authored Apr 7, 2021
1 parent 15647ab commit d24bc96
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
]
}
]
}
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 1.0.7 | 2021-04-07 [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Tchoupinax/vsextensions/tilt/1.0.7/vspackage) | [open-vsx.org](https://open-vsx.org/extension/Tchoupinax/tilt)

- Add syntax color for double quoted string

### 1.0.6 | 2021-01-12 [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Tchoupinax/vsextensions/tilt/1.0.6/vspackage) | [open-vsx.org](https://open-vsx.org/extension/Tchoupinax/tilt)

- Rename LICENCE.md to LICENSE.md
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Tchoupinax <[email protected]>",
"publisher": "Tchoupinax",
"icon": "assets/tilt.png",
"version": "1.0.6",
"version": "1.0.7",
"engines": {
"vscode": "^1.35.0"
},
Expand Down
23 changes: 21 additions & 2 deletions syntaxes/.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"include": "#keywords"
},
{
"include": "#strings"
"include": "#strings-single-quote"
},
{
"include": "#strings-double-quote"
},
{
"include": "#comments"
Expand Down Expand Up @@ -49,7 +52,7 @@
}
]
},
"strings": {
"strings-single-quote": {
"name": "string.quoted",
"begin": "'",
"end": "'",
Expand All @@ -65,6 +68,22 @@
}
]
},
"strings-double-quote": {
"name": "string.quoted",
"begin": "\"",
"end": "\"",
"captures": {
"0": {
"name": "string.quoted.single"
}
},
"patterns": [
{
"name": "constant.character.escape.osef",
"match": "\\\\."
}
]
},
"comments": {
"name": "comment",
"begin": "#",
Expand Down

0 comments on commit d24bc96

Please sign in to comment.