1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 12:54:23 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
cn
5ff8e7f5f0 Remove load 2013-04-27 14:01:06 +02:00
cn
4556588a71 Ruby: global variables ma start with a digit 2012-07-20 12:04:07 +02:00
cn
ef99b6b10c Ruby: disable mechanism to find |proc_arg| because of buggy site effects
It is nearly impossible to detect |proc_arg| and to distinguish it from e.g. a | b | c
as an expression - currently the proc_arg hiliter assumes that there are no spaces around
the proc_arg which is too narrow. Yesterday I encountered a buggy site effect that |i1| the
1 is hilited like a number... so I should disable this feature which is currently not enabled
by default completely.
2012-03-31 20:43:37 +02:00
cn
605b0c088e ruby: accept %W (same as %w) strings, too 2012-01-19 12:04:13 +01:00
cn
9716bb9cc9 Add brand new highlighter for sieve email filtering language 2011-11-06 16:14:14 +01:00
cn
2b59cf9e90 Brand new Haml highlighter
The main features of Haml can be correctly parsed according to
http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html.

There exist some limitations inherently comming from the limitations
of state machine based highlighters (without side effects)... this parsers
sucks with multiline comments, strings etc since the indent based grouping
can't be evaluated.
2011-10-19 20:40:45 +02:00
cn
87b761a43b Ruby: allow ##{} to be correctly lit 2011-10-12 14:01:38 +02:00
cn
673886c1d5 Ruby: parse <% # comment %> correctly in erb mode
Previous versions consumed the whole line after a pound now there is
a check to search for erb end tag in erb mode.
2011-10-08 20:28:26 +02:00
cn
f9ac8887c5 Ruby: minor bugfix with subroutine 2011-10-04 23:27:38 +02:00
cn
09bdf55037 New highlighter for Ruby's ERB and HTML embedded ERB
Ruby code inside ERB tags (whether in plain or HTML environment) is highlighted
via the ruby.jsf colorer.
2011-10-04 21:26:20 +02:00
cn
4d138ffec2 Ruby: allow ?! in symbols 2011-10-03 23:01:33 +02:00
cn
e832ba5d5a Ruby: support for :"symbols" and :'symbols'
These are highlighted completely red.
2011-09-29 19:17:09 +02:00
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