forked from slim-template/ruby-slim.tmbundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit ... 1. adjusts Ruby on Rails base syntax/scopes as they changed as of ST 4131 2. adds Markdown support. Rewritten Markdown is shipped with ST 4134+. Hence ST4131 will fail loading and highlighting Markdown, but as it is the only public available dev build, which does so, it is used as breaking point for the new branch anyway. It's unlikely enough to be actively used. If so, update to next build solves the issue. Hence CI tests use ST4134 as oldest build to test against. Notes: ST 4130, 4132, 4133 don't exist as has been fixed up by next higher builds. No syntax_test runners exist for fixed-up builds.
- Loading branch information
Showing
6 changed files
with
63 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
%YAML 1.2 | ||
--- | ||
# http://www.sublimetext.com/docs/syntax.html | ||
name: Markdown (for Slim) | ||
scope: text.html.markdown.embedded.slim | ||
version: 2 | ||
hidden: true | ||
|
||
extends: Packages/Markdown/Markdown.sublime-syntax | ||
|
||
contexts: | ||
prototype: | ||
- meta_prepend: true | ||
- include: Slim.sublime-syntax#slim-interpolations | ||
|
||
main: | ||
- include: indented-markdown | ||
|
||
html-content: | ||
- include: scope:text.html.embedded.slim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters