Skip to content
This repository was archived by the owner on Feb 12, 2018. It is now read-only.

Commit 8abe515

Browse files
committed
Merge pull request #7 from tpoisot/master
roxygen docstring tags
2 parents 9598f27 + ca2dc18 commit 8abe515

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

grammars/r.cson

+18
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,24 @@
1717
'match': '^(#pragma[ \\t]+mark)[ \\t](.*)'
1818
'name': 'comment.line.pragma-mark.r'
1919
}
20+
{
21+
'begin': '#\'[ ]?(@[a-zA-Z0-9]+)'
22+
'beginCaptures':
23+
'0':
24+
'name': 'punctuation.definition.comment.roxygen.r'
25+
'1':
26+
'name': 'keyword.roxygen.r'
27+
'end': '\\n'
28+
'name': 'comment.line.number-sign.roxygen.r'
29+
}
30+
{
31+
'begin': '#\''
32+
'beginCaptures':
33+
'0':
34+
'name': 'punctuation.definition.comment.roxygen.r'
35+
'end': '\\n'
36+
'name': 'comment.line.number-sign.roxygen.r'
37+
}
2038
{
2139
'begin': '#'
2240
'beginCaptures':

0 commit comments

Comments
 (0)