Add comments highlighting
This commit is contained in:
parent
384da2d065
commit
e2aa90e0f4
6
queries/highlights.scm
Normal file
6
queries/highlights.scm
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[
|
||||||
|
(line_comment)
|
||||||
|
(block_comment)
|
||||||
|
] @comment
|
||||||
|
|
||||||
|
; vim: sw=2 foldmethod=marker
|
10
test/highlight/comments.bp
Normal file
10
test/highlight/comments.bp
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
/* This is comment */
|
||||||
|
/* <- comment
|
||||||
|
^ comment
|
||||||
|
^ comment
|
||||||
|
*/
|
||||||
|
// And another comment
|
||||||
|
/* <- comment
|
||||||
|
^ comment
|
||||||
|
^ comment
|
||||||
|
*/
|
Loading…
Reference in a new issue