Skip to content

Commit

Permalink
Merge pull request #459 from SublimeText-Markdown/2.2.5
Browse files Browse the repository at this point in the history
2.2.5
  • Loading branch information
felixhao28 committed Sep 15, 2017
2 parents 7cb1d41 + ed0f1cb commit d44bac6
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
22 changes: 19 additions & 3 deletions Markdown.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ contexts:
push:
- meta_scope: markup.raw.yaml.front-matter
- meta_content_scope: source.yaml
- match: ^---\s
- match: ^(---|\.\.\.)\s
pop: true
- include: scope:source.yaml
- match: (?<!\s)---\s*coffee\n$
push:
- meta_scope: markup.raw.coffee.front-matter
- meta_content_scope: source.coffee
- match: ^---\s
- match: ^(---|\.\.\.)\s
pop: true
- include: scope:source.coffee
- match: (?<!\s)---\s*json\n$
push:
- meta_scope: markup.raw.json.front-matter
- meta_content_scope: source.json
- match: ^---\s
- match: ^(---|\.\.\.)\s
pop: true
- include: scope:source.json
- match: ""
Expand Down Expand Up @@ -449,6 +449,8 @@ contexts:
- include: fenced-clojure
- include: fenced-go
- include: fenced-kotlin
- include: fenced-ocaml
- include: fenced-reason
- include: fenced-undefined
fenced-coffee:
- match: '^(\s*[`~]{3,})\s*(coffee|cjsx)\s*$'
Expand Down Expand Up @@ -513,6 +515,13 @@ contexts:
- match: ^(\1)\n
pop: true
- include: scope:source.lua
fenced-ocaml:
- match: '^(\s*[`~]{3,})\s*(ocaml)\s*$'
push:
- meta_scope: markup.raw.block.markdown markup.raw.block.fenced.markdown
- match: ^(\1)\n
pop: true
- include: scope:source.ocaml
fenced-obj-c:
- match: '^(\s*[`~]{3,})\s*(obj(ective-)?c)\s*$'
push:
Expand Down Expand Up @@ -541,6 +550,13 @@ contexts:
- match: ^(\1)\n
pop: true
- include: scope:source.python
fenced-reason:
- match: '^(\s*[`~]{3,})\s*(re|reason)\s*$'
push:
- meta_scope: markup.raw.block.markdown markup.raw.block.fenced.markdown
- match: ^(\1)\n
pop: true
- include: scope:source.reason
fenced-ruby:
- match: '^(\s*[`~]{3,})\s*(ruby)\s*$'
push:
Expand Down
1 change: 1 addition & 0 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def get_ingored_packages():


def save_ingored_packages(ignored_packages):
settings = sublime.load_settings('Preferences.sublime-settings')
settings.set('ignored_packages', ignored_packages)
sublime.save_settings('Preferences.sublime-settings')

Expand Down
21 changes: 21 additions & 0 deletions messages/2.2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# MarkdownEditing 2.2.5 Changelog

Your _MarkdownEditing_ plugin is updated. Enjoy new version. For any type of
feedback you can use [GitHub issues][issues].

## Bug Fixes

* YAML front matter enclosed by "..." is now correctly recognized by syntax parser.
* Fix an issue with Sublime Text 3 updating to Build 3144

## New Features

* Added Reason/OCmal syntax support (thanks to @gandulio)

## Changes

## Note

When you notice any undesired behavior introduced by the latest update, your feedback is always welcome in our [issue page](https://github.com/SublimeText-Markdown/MarkdownEditing/issues). However before it's fixed, you can rollback to [an earlier version](https://github.com/SublimeText-Markdown/MarkdownEditing/releases). Find the desired version and download the zip file, then follow [manual installation guide](#manual-installation)

[issues]: https://github.com/SublimeText-Markdown/MarkdownEditing/issues

0 comments on commit d44bac6

Please sign in to comment.