Skip to content

Commit

Permalink
feat: publish 0.0.19
Browse files Browse the repository at this point in the history
- add special stype for captured variables
- add highlight for `var` keyword
  • Loading branch information
Chronostasys committed Sep 30, 2023
1 parent 136b3f3 commit c921e9d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 19 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to the "pivot-lang-support" extension will be documented in

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [0.0.19]
- add special stype for captured variables
- add highlight for `var` keyword


## [0.0.18]
- add run & debug commands

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 13 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pivot-lang-support",
"displayName": "pivot-lang support",
"description": "",
"version": "0.0.18",
"version": "0.0.19",
"publisher": "pivot-langAuthors",
"license": "MIT",
"repository": {
Expand All @@ -22,6 +22,16 @@
"icon": "logo.png",
"main": "./out/extension",
"contributes": {
"semanticTokenScopes": [
{
"language": "pivot-lang",
"scopes": {
"*.captured": [
"markup.underline"
]
}
}
],
"configuration": [
{
"title": "pivot lang",
Expand Down Expand Up @@ -78,8 +88,7 @@
"command": "pivot-lang.debug_current",
"title": "Debug current pivot-lang project",
"category": "pivot-lang"
}
,
},
{
"command": "pivot-lang.run_current",
"title": "Run current pivot-lang project",
Expand All @@ -91,13 +100,6 @@
"type": "plProvider"
}
],
"configurationDefaults": {
"editor.semanticTokenColorCustomizations": {
"rules": {
"keyword": "#569CD6"
}
}
},
"debuggers": [
{
"type": "pivot",
Expand Down Expand Up @@ -508,4 +510,4 @@
"mocha": "^9.2.1",
"typescript": "^4.6.2"
}
}
}
12 changes: 6 additions & 6 deletions syntaxes/pivot-lang.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"repository": {
"keywords": {
"patterns": [{
"name": "keyword.control.pivot-lang",
"match": "\\b(if|while|for|return|else|break|continue)\\b"
"name": "keyword.control",
"match": "\\b(if|while|for|return|else|break|continue|yield)\\b"
},{
"name": "keyword.pivot-lang",
"match": "\\b(struct|fn|let|use|const|true|false|impl|self|trait|pub|where|macro|type|as|is|gen|yield)\\b"
"name": "keyword",
"match": "\\b(struct|fn|let|use|const|true|false|impl|self|trait|pub|where|macro|type|as|is|gen|var)\\b"
}]
},
"strings": {
"name": "string.quoted.double.pivot-lang",
"name": "string.quoted.double",
"begin": "\"",
"end": "\"",
"patterns": [
{
"name": "constant.character.escape.pivot-lang",
"name": "constant.character.escape",
"match": "\\\\."
}
]
Expand Down

0 comments on commit c921e9d

Please sign in to comment.