Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby Support #20

Closed
the-robear opened this issue Jun 12, 2014 · 4 comments
Closed

Ruby Support #20

the-robear opened this issue Jun 12, 2014 · 4 comments

Comments

@the-robear
Copy link

the-robear commented Jun 12, 2014

create an Ruby (colorcoded).tmLanguage

@vprimachenko
Copy link
Owner

vprimachenko commented Jun 13, 2014

please unpack Ruby.tmLanguage from \Sublime Text 3\Packages\Ruby.sublime-package to \Sublime Text 3\Data\Packages\Ruby\Ruby.tmLanguage and apply this diff

--- \Sublime Text 3\Data\Packages\Ruby\Ruby.tmLanguage
+++ \Sublime Text 3\Data\Packages\Ruby\Ruby.tmLanguage
@@ -2289,6 +2289,12 @@
            <key>name</key>
            <string>punctuation.section.function.ruby</string>
        </dict>
+       <dict>
+           <key>match</key>
+           <string>\b\w+\b</string>
+           <key>name</key>
+           <string>colorize.ruby</string>
+       </dict>
    </array>
    <key>repository</key>
    <dict>

@vprimachenko
Copy link
Owner

vprimachenko commented Jul 21, 2014

@the-robear was it any good?

@Vivelin
Copy link

Vivelin commented Aug 26, 2014

It sure got a whole lot more colorful for me with this, at least in ST2.

@tpdorsey
Copy link

tpdorsey commented Sep 23, 2014

This worked great, though I extracted the default Ruby.tmLanguage file and the rest of the package contents) using PackageResourceViewer and saved the edited Ruby.tmLanguage file to ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Ruby

Thanks!

vprimachenko added a commit that referenced this issue Sep 26, 2014
Added  new definitions: resolved #18, #20, #21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants