Skip to content

Commit

Permalink
Syntax: ST4 specific update for Groovy support
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Jul 23, 2024
1 parent 18a0f75 commit 0e9edff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions syntaxes/Code Block Syntaxes.sublime-completions
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,14 @@
"details": "Specifies <code>GraphViz</code> code highlighting"
},

// Groovy
{
"trigger": "groovy",
"annotation": "Groovy",
"kind": ["markup", "s", "Syntax"],
"details": "Specifies <code>Groovy</code> code highlighting"
},

// Haskell
{
"trigger": "haskell",
Expand Down
6 changes: 4 additions & 2 deletions syntaxes/Markdown.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,9 @@ contexts:
6: comment.line.infostring.markdown
7: meta.fold.code-fence.begin.markdown
embed: scope:source.groovy
embed_scope: markup.raw.code-fence.groovy.markdown-gfm
embed_scope:
markup.raw.code-fence.groovy.markdown-gfm
source.groovy
escape: '{{fenced_code_block_escape}}'
escape_captures:
0: meta.code-fence.definition.end.groovy.markdown-gfm
Expand Down Expand Up @@ -3993,7 +3995,7 @@ contexts:
- meta_scope: meta.link.inet.markdown markup.underline.link.markdown-gfm
# 1. When an autolink ends in ), we scan the entire autolink for the total
# number of parentheses. If there is a greater number of closing parentheses
# than opening ones, we don’t consider the last character part of the
# than opening ones, we dont consider the last character part of the
# autolink, in order to facilitate including an autolink inside a parenthesis
# 2. If an autolink ends in a semicolon (;), we check to see if it appears to
# resemble an entity reference; if the preceding text is & followed by one
Expand Down

0 comments on commit 0e9edff

Please sign in to comment.