Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Guidebook/sublime-cjsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Wood committed May 29, 2015
2 parents 1bbae9a + c7d9bcc commit 5bb3548
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@ Sublime syntax highlighting for CJSX

## Installation

Coming soon...
To install this plugin from Github, follow these steps:

1. Open Sublime and open "Package Control" (cmd + shift + p).
1. Type "Add Repository"; select the result (hit enter).
1. At the bottom of your Sublime window you will see a text input that prompts you for the Github URL.
1. Copy and paste: "https://github.com/Guidebook/sublime-cjsx".
1. Give Sublime a few minutes to add the repo.
1. Open "Package Control" again (cmd + shift + p) and type "Install Package".
1. Type "sublime cjsx"; select the result (hit enter).
1. Give Sublime a few minutes to install the package.
1. Open a .cjsx file and in the lower right hand corner of your Sublime window, open the syntax dropdown.
1. Select 'CJSX' and smile.

## Credit

Expand Down
4 changes: 2 additions & 2 deletions syntax/CJSX.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@
</dict>
</dict>
<key>end</key>
<string>(&lt;/)(\2)([^&gt;]*&gt;)</string>
<string>(&lt;/)(\2)([^&gt;]*&gt;)|(\/&gt;)</string>
<key>endCaptures</key>
<dict>
<key>1</key>
Expand Down Expand Up @@ -970,7 +970,7 @@
</dict>
</dict>
<key>match</key>
<string>(&lt;/)([^&gt;]+)(&gt;)</string>
<string>(&lt;/)([^&gt;]+)(&gt;)|(\/&gt;)</string>
<key>name</key>
<string>tag.close.coffee</string>
</dict>
Expand Down

0 comments on commit 5bb3548

Please sign in to comment.