Skip to content

Commit

Permalink
fixed fenced langs
Browse files Browse the repository at this point in the history
  • Loading branch information
aziz committed May 12, 2016
1 parent ecc0922 commit 23229dd
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions Note-fenced.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contexts:
- include: fenced-lisp
- include: fenced-matlab
- include: fenced-obj-c
# - include: fenced-perl
- include: fenced-perl
- include: fenced-php
- include: fenced-python
- include: fenced-r
Expand All @@ -31,7 +31,7 @@ contexts:
- include: fenced-sass
- include: fenced-scala
- include: fenced-scss
# - include: fenced-shell
- include: fenced-shell
- include: fenced-sql
- include: fenced-tex
- include: fenced-xml
Expand Down Expand Up @@ -256,19 +256,19 @@ contexts:
2: meta.definition.language.raw.block.fenced.markdown
pop: true
- include: scope:source.objc
# fenced-perl:
# - match: '((?:^|\G)\s*[`~]{3,})\s*(perl)\s*$'
# captures:
# 1: punctuation.definition.raw.block.fenced.markdown
# 2: meta.definition.language.raw.block.fenced.markdown
# push:
# - meta_scope: markup.raw.block.markdown markup.raw.block.fenced.markdown meta.language.perl
# - match: '^(\1)[ \t]*(\n|$)'
# captures:
# 1: punctuation.definition.raw.block.fenced.markdown
# 2: meta.definition.language.raw.block.fenced.markdown
# pop: true
# - include: scope:source.perl
fenced-perl:
- match: '((?:^|\G)\s*[`~]{3,})\s*(perl)\s*$'
captures:
1: punctuation.definition.raw.block.fenced.markdown
2: meta.definition.language.raw.block.fenced.markdown
push:
- meta_scope: markup.raw.block.markdown markup.raw.block.fenced.markdown meta.language.perl
- match: '^(\1)[ \t]*(\n|$)'
captures:
1: punctuation.definition.raw.block.fenced.markdown
2: meta.definition.language.raw.block.fenced.markdown
pop: true
- include: scope:source.perl
fenced-php:
- match: '((?:^|\G)\s*[`~]{3,})\s*(php)\s*$'
captures:
Expand Down Expand Up @@ -373,19 +373,19 @@ contexts:
2: meta.definition.language.raw.block.fenced.markdown
pop: true
- include: scope:source.scss
# fenced-shell:
# - match: '((?:^|\G)\s*[`~]{3,})\s*(sh|shell|bash)\s*$'
# captures:
# 1: punctuation.definition.raw.block.fenced.markdown
# 2: meta.definition.language.raw.block.fenced.markdown
# push:
# - meta_scope: markup.raw.block.markdown markup.raw.block.fenced.markdown meta.language.shell
# - match: '^(\1)[ \t]*(\n|$)'
# captures:
# 1: punctuation.definition.raw.block.fenced.markdown
# 2: meta.definition.language.raw.block.fenced.markdown
# pop: true
# - include: scope:source.shell
fenced-shell:
- match: '((?:^|\G)\s*[`~]{3,})\s*(sh|shell|bash)\s*$'
captures:
1: punctuation.definition.raw.block.fenced.markdown
2: meta.definition.language.raw.block.fenced.markdown
push:
- meta_scope: markup.raw.block.markdown markup.raw.block.fenced.markdown meta.language.shell
- match: '^(\1)[ \t]*(\n|$)'
captures:
1: punctuation.definition.raw.block.fenced.markdown
2: meta.definition.language.raw.block.fenced.markdown
pop: true
- include: scope:source.shell
fenced-sql:
- match: '((?:^|\G)\s*[`~]{3,})\s*(sql)\s*$'
captures:
Expand Down

0 comments on commit 23229dd

Please sign in to comment.