Skip to content

Commit 933e114

Browse files
committed
Syntax: ST4 specific update for Groovy support
1 parent 7a521e9 commit 933e114

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

syntaxes/Code Block Syntaxes.sublime-completions

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,14 @@
240240
"details": "Specifies <code>GraphViz</code> code highlighting"
241241
},
242242

243+
// Groovy
244+
{
245+
"trigger": "groovy",
246+
"annotation": "Groovy",
247+
"kind": ["markup", "s", "Syntax"],
248+
"details": "Specifies <code>Groovy</code> code highlighting"
249+
},
250+
243251
// Haskell
244252
{
245253
"trigger": "haskell",

syntaxes/Markdown.sublime-syntax

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,9 @@ contexts:
14391439
6: comment.line.infostring.markdown
14401440
7: meta.fold.code-fence.begin.markdown
14411441
embed: scope:source.groovy
1442-
embed_scope: markup.raw.code-fence.groovy.markdown-gfm
1442+
embed_scope:
1443+
markup.raw.code-fence.groovy.markdown-gfm
1444+
source.groovy
14431445
escape: '{{fenced_code_block_escape}}'
14441446
escape_captures:
14451447
0: meta.code-fence.definition.end.groovy.markdown-gfm

0 commit comments

Comments
 (0)