Add comments highlighting

This commit is contained in:
Bruno BELANYI 2024-04-08 20:38:24 +01:00
parent 384da2d065
commit e2aa90e0f4
2 changed files with 16 additions and 0 deletions

6
queries/highlights.scm Normal file
View file

@ -0,0 +1,6 @@
[
(line_comment)
(block_comment)
] @comment
; vim: sw=2 foldmethod=marker

View file

@ -0,0 +1,10 @@
/* This is comment */
/* <- comment
^ comment
^ comment
*/
// And another comment
/* <- comment
^ comment
^ comment
*/