Christian Nicolai
21b53a4721
Ruby: fix no-keyword hilite
2011-09-19 00:42:28 +02:00
Christian Nicolai
6bea2b0dee
Ruby: no-keyword detection for e.g. .nil? or .private or .class
2011-09-18 23:40:34 +02:00
Christian Nicolai
023d39ed80
Ruby: remove .<digit> float support
...
Newer Rubies (appearently 1.7 and above) do not accept floating point literals
like .5 anymore with the following error:
no .<digit> floating literal anymore; put 0 before dot
2011-09-18 22:09:56 +02:00
Christian Nicolai
92de67ef9e
Ruby: fix symbol detection - it now detects 1-char-symbols like :s
2011-09-18 16:35:32 +02:00
Christian Nicolai
da873ca713
Ruby: fixed class declaration hilite
2011-09-18 16:30:00 +02:00
Christian Nicolai
23aa59efc2
Ruby: class name declaration highlighter (bold blue)
2011-09-17 20:37:53 +02:00
Christian Nicolai
2368f93f0e
´Ruby: highlight global variables yellow by default
2011-09-14 11:27:40 +02:00
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