-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Juvix line comment by default in Juvix Markdown and language-conf…
…iguration changes (#134)
- Loading branch information
1 parent
771080b
commit 0bac5b1
Showing
6 changed files
with
95 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"information_for_contributors": [ | ||
"This file has been modified from https://github.com/microsoft/vscode/blob/main/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json." | ||
], | ||
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/7418dd20d76c72e82fadee2909e03239e9973b35", | ||
"name": "Markdown", | ||
"scopeName": "text.juvix.markdown", | ||
"fileTypes": ["JuvixMarkdown"], | ||
"patterns": [ | ||
{ | ||
"include": "#markdown" | ||
} | ||
], | ||
"repository": { | ||
"markdown": { | ||
"patterns": [ | ||
{ | ||
"include": "fenced_code_block_juvix" | ||
} | ||
] | ||
}, | ||
"fenced_code_block_juvix": { | ||
"begin": "(^|\\G)(\\s*)(`{3,})\\s*(?i:(juvix|\\{\\.juvix.+?\\})((\\s+|:|,|\\{|\\?)[^`]*)?$)", | ||
"name": "markup.fenced_code.block.markdown", | ||
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$", | ||
"beginCaptures": { | ||
"3": { | ||
"name": "punctuation.definition.markdown" | ||
}, | ||
"4": { | ||
"name": "fenced_code.block.language.markdown" | ||
}, | ||
"5": { | ||
"name": "fenced_code.block.language.attributes.markdown" | ||
} | ||
}, | ||
"endCaptures": { | ||
"3": { | ||
"name": "punctuation.definition.markdown" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"begin": "(^|\\G)(\\s*)(.*)", | ||
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)", | ||
"contentName": "meta.embedded.block.juvix", | ||
"patterns": [ | ||
{ | ||
"include": "source.juvix" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |