mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02:54:23 +01:00
Ruby: no-keyword detection for e.g. .nil? or .private or .class
This commit is contained in:
parent
023d39ed80
commit
6bea2b0dee
5
ruby.jsf
5
ruby.jsf
@ -38,6 +38,7 @@
|
|||||||
"{}" brace recolor=-1
|
"{}" brace recolor=-1
|
||||||
"0" first_digit recolor=-1
|
"0" first_digit recolor=-1
|
||||||
"1-9" decimal recolor=-1
|
"1-9" decimal recolor=-1
|
||||||
|
"." ident_no_kw
|
||||||
"\"" string recolor=-1
|
"\"" string recolor=-1
|
||||||
"'" char recolor=-1
|
"'" char recolor=-1
|
||||||
"`" backtick recolor=-1
|
"`" backtick recolor=-1
|
||||||
@ -331,6 +332,10 @@ done
|
|||||||
* backtick noeat
|
* backtick noeat
|
||||||
"0-7" backtick
|
"0-7" backtick
|
||||||
|
|
||||||
|
:ident_no_kw Idle
|
||||||
|
* after_term noeat
|
||||||
|
"a-zA-Z0-9_?!" ident_no_kw
|
||||||
|
|
||||||
:ident Idle
|
:ident Idle
|
||||||
* after_term noeat strings
|
* after_term noeat strings
|
||||||
"BEGIN" kw
|
"BEGIN" kw
|
||||||
|
Loading…
Reference in New Issue
Block a user