Improve new syntax files and fix a region glitch

This commit is contained in:
Zachary Yedidia
2017-03-21 15:07:39 -04:00
parent b977bf5cca
commit 54bb99d758
67 changed files with 2941 additions and 642 deletions

View File

@@ -1,9 +1,12 @@
filetype: r
detect:
detect:
filename: "\\.(r|R)$"
rules:
- statement: "\\b(break|else|for|function|if|in|next|repeat|return|while)\\b"
- constant: "\\b(TRUE|FALSE|NULL|Inf|NaN|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\\b"
- comment: "#.*$"
- comment:
start: "#"
end: "$"
rules: []