Skip to content

Commit

Permalink
Merge pull request #512 from gerardroche/file-extensions
Browse files Browse the repository at this point in the history
Some additional syntax file extensions
  • Loading branch information
wbond authored Jul 22, 2016
2 parents 1a2e479 + 096651b commit 3e4e845
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
1 change: 1 addition & 0 deletions CSS/CSS.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: CSS
file_extensions:
- css
- css.erb
- css.liquid
scope: source.css
variables:
# Many variable names taken directly from https://www.w3.org/TR/css3-selectors/#lex
Expand Down
1 change: 1 addition & 0 deletions Python/Python.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
name: Python
file_extensions:
- py
- py3
- pyw
- pyi
- rpy
Expand Down
1 change: 1 addition & 0 deletions Rails/HTML (Rails).sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
---
name: HTML (Rails)
file_extensions:
- rails
- rhtml
- erb
- html.erb
Expand Down
34 changes: 20 additions & 14 deletions Ruby/Ruby.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,33 @@ name: Ruby
# ternary operator rule, precedence stuff, symbol rule.
# but also consider 'a.b?(:c)' ??
file_extensions:
- rb
- rbx
- rjs
- Rakefile
- rake
- Appraisals
- Berksfile
- Brewfile
- capfile
- cgi
- Cheffile
- config.ru
- fcgi
- Gemfile
- gemspec
- Guardfile
- irbrc
- capfile
- jbuilder
- podspec
- prawn
- Cheffile
- Gemfile
- Guardfile
- Vagrantfile
- config.ru
- Appraisals
- rabl
- rake
- Rakefile
- Rantfile
- Brewfile
- Berksfile
- rb
- rbx
- rjs
- ruby.rail
- simplecov
- thor
- Thorfile
- Vagrantfile
first_line_match: ^#!/.*\bruby
scope: source.ruby
variables:
Expand Down

0 comments on commit 3e4e845

Please sign in to comment.