1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-11-01 00:56:15 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Christian Nicolai
d062c874bd Allow ? and ! in Ruby identifiers
From the spec ? and ! are only allow at the _end_ of _method_ names. The current highlighter accepts ? and ! in _all_ identifiers (since they could be e.g. method calls), too.
2011-08-11 22:53:32 +02:00
Christian Nicolai
40568ca3e3 More keywords for Ruby, disabled $global variables 2011-08-11 22:41:01 +02:00
Christian Nicolai
5b54f69666 Reformatted ruby.jsf for tabsize 8 2011-08-06 12:29:43 +02:00
Christian Nicolai
60f12d591d Added global variable highlighter for ruby
Feature:
- highlights $blub variables (yellow)
2011-08-04 00:23:31 +02:00
Christian Nicolai
acee020264 Refactored ruby comment todo labels 2011-08-02 18:52:46 +02:00
Christian Nicolai
495194d5ca Fixed ruby string substitution highlight
In (at least recent versions of) ruby the phrase #{var} is used
for string substitution in "..." strings.
2011-08-02 15:16:22 +02:00
Christian Nicolai
fe6271c08a Corrected tabs - using tab size 8 2011-08-01 11:21:59 +02:00
Christian Nicolai
649adaa634 Only highlight {} in Ruby (like Java) 2011-08-01 10:41:02 +02:00
Christian Nicolai
fa890e5f6a Fixed brace support for ruby 2011-08-01 10:38:51 +02:00
Christian Nicolai
fda50c3968 Brace support for Ruby 2011-08-01 10:32:23 +02:00
Christian Nicolai
c73df189f8 Improved ruby.jsf
Now class and instance members (@@var and @var) will be recognized correctly.
2011-07-31 22:55:29 +02:00
Christian Nicolai
56f2134055 Extended ruby.jsf
New features are:
- TODO (and FIXME, BUG, XXX) highlight in oneline comments (bold green)
- :symbols support (red)
- proc block argument highlight for e.g. |arg,val| (yellow, disabled)
- class member highlight for e.g. @field (brown, disabled)
- additional quasi-keywords

Disabled features may be enabled by setting a color in the header.
2011-07-31 16:50:38 +02:00
Christian Nicolai
e6384eab3f Added original ruby syntax highlighting file 2011-07-31 16:29:37 +02:00