Skip to content

Commit

Permalink
Syntax: fix AutoHotKey scope and context names (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk authored Sep 11, 2023
1 parent 12d66e1 commit ca90fa9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions syntaxes/Markdown.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ contexts:
- include: fenced-yaml
# 3rd-party syntaxes
- include: fenced-ada
- include: fenced-akh
- include: fenced-ahk
- include: fenced-arduino
- include: fenced-coffee
- include: fenced-dart
Expand Down Expand Up @@ -2029,25 +2029,25 @@ contexts:
1: punctuation.definition.raw.code-fence.end.markdown
2: meta.fold.code-fence.end.markdown
fenced-akh:
fenced-ahk:
- match: |-
(?x)
{{fenced_code_block_start}}
(?i:\s*(akh))
(?i:\s*(ahk))
{{fenced_code_block_trailing_infostring_characters}}
captures:
0: meta.code-fence.definition.begin.akh.markdown-gfm
0: meta.code-fence.definition.begin.ahk.markdown-gfm
2: punctuation.definition.raw.code-fence.begin.markdown
5: constant.other.language-name.markdown
6: comment.line.infostring.markdown
7: meta.fold.code-fence.begin.markdown
embed: scope:source.akh
embed: scope:source.ahk
embed_scope:
markup.raw.code-fence.akh.markdown-gfm
source.akh
markup.raw.code-fence.ahk.markdown-gfm
source.ahk
escape: '{{fenced_code_block_escape}}'
escape_captures:
0: meta.code-fence.definition.end.akh.markdown-gfm
0: meta.code-fence.definition.end.ahk.markdown-gfm
1: punctuation.definition.raw.code-fence.end.markdown
2: meta.fold.code-fence.end.markdown
Expand Down

0 comments on commit ca90fa9

Please sign in to comment.