Add R syntax file

Closes #91
This commit is contained in:
Zachary Yedidia
2016-05-02 15:01:46 -04:00
parent 07d8a08422
commit cf2db5dfe7
3 changed files with 120 additions and 89 deletions

7
runtime/syntax/r.micro Normal file
View File

@@ -0,0 +1,7 @@
# R source code
syntax "R" "\.(r|R)$"
color statement "\b(break|else|for|function|if|in|next|repeat|return|while)\b"
color constant "\b(TRUE|FALSE|NULL|Inf|NaN|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b"
color comment "#.*$"