feat: use @ignore for comments and multiline strings

This commit is contained in:
elianiva
2021-03-01 20:20:37 +07:00
committed by Kiyan
parent 1297e4f1b1
commit 0bf8f58cd2
12 changed files with 32 additions and 0 deletions

View File

@@ -14,3 +14,8 @@
"{"
"}"
] @branch
[
(comment)
(preproc_function_def)
] @ignore

View File

@@ -14,3 +14,5 @@
"{"
"}"
] @branch
(comment) @ignore

View File

@@ -7,3 +7,4 @@
"}"
] @branch
(comment) @ignore

View File

@@ -20,3 +20,5 @@
"{"
"}"
] @branch
(comment) @ignore

View File

@@ -7,3 +7,5 @@
">"
"/>"
] @branch
(comment) @ignore

View File

@@ -18,3 +18,5 @@
"["
"]"
] @branch
(comment) @ignore

View File

@@ -25,3 +25,8 @@
"["
"]"
] @branch
[
(comment)
(template_string)
] @ignore

View File

@@ -1 +1,3 @@
; inherits: json
(comment) @ignore

View File

@@ -27,3 +27,5 @@
(else)
(elseif)
] @branch
(comment) @ignore

View File

@@ -10,3 +10,5 @@
(elsif)
"end"
] @branch
(comment) @ignore

View File

@@ -26,3 +26,8 @@
"{"
"}"
] @branch
[
(line_comment)
(raw_string_literal)
] @ignore

View File

@@ -14,3 +14,5 @@
">"
"/>"
] @branch
(comment) @ignore