Skip to content

Commit c929046

Browse files
Syntax highlighting for indented roxygen (#850)
1 parent 903c300 commit c929046

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syntax/r.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@
462462
"roxygen": {
463463
"patterns": [
464464
{
465-
"begin": "^(#')\\s*",
465+
"begin": "^\\s*(#')\\s*",
466466
"beginCaptures": {
467467
"1": {
468468
"name": "punctuation.definition.comment.r"

0 commit comments

Comments
 (0)