Skip to content

Commit

Permalink
Add antlr-injection language
Browse files Browse the repository at this point in the history
  • Loading branch information
hazer-hazer committed Feb 14, 2022
1 parent ba9ab09 commit b4c0edf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
5 changes: 3 additions & 2 deletions package-lock.json

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

7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -7,7 +7,7 @@
"color": "#2789e1",
"theme": "dark"
},
"version": "2.2.4",
"version": "2.2.4-markdown",
"publisher": "mike-lischke",
"license": "SEE LICENSE IN LICENSE.txt",
"repository": {
Expand All @@ -19,7 +19,7 @@
},
"homepage": "http://www.soft-gems.net",
"engines": {
"vscode": "^1.46.0"
"vscode": "^1.55.0"
},
"categories": [
"Programming Languages",
Expand All @@ -43,6 +43,9 @@
],
"firstLine": "^(lexer|parser)?\\s*grammar\\s*\\w+\\s*;",
"configuration": "./antlr.configuration.json"
},
{
"id": "antlr-injection"
}
],
"grammars": [
Expand Down
4 changes: 2 additions & 2 deletions syntaxes/antlr.codeblock.json
Expand Up @@ -7,7 +7,7 @@
}
],
"repository": {
"jacy-code-block": {
"antlr-code-block": {
"begin": "(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(antlr4|antlr|g4|g)(\\s+[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
Expand All @@ -31,7 +31,7 @@
{
"begin": "(^|\\G)(\\s*)(.*)",
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
"contentName": "meta.embedded.block.antlr4",
"contentName": "meta.embedded.block.antlr",
"patterns": [
{
"include": "source.antlr"
Expand Down

0 comments on commit b4c0edf

Please sign in to comment.