git.iko.soy
/
helix
readme
files
commits
refs
on
master
help
sign in
Highlight comments in c, cpp, cmake and llvm (#1309)
23091c9
Sebastian Neubauer
5 years ago
runtime/queries/c/injections.scm
new file
+2
compare with master
unified
split
@@ -0,0 +1,2 @@
1
+
((comment) @injection.content
2
+
(
#set
! injection.language
"comment"
))
runtime/queries/cmake/injections.scm
new file
+4
@@ -0,0 +1,4 @@
1
+
((line_comment) @injection.content
2
+
(
#set
! injection.language
"comment"
))
3
+
((bracket_comment) @injection.content
4
+
(
#set
! injection.language
"comment"
))
runtime/queries/cpp/injections.scm
new file
+1
@@ -0,0 +1 @@
1
+
; inherits: c
runtime/queries/glsl/injections.scm
+2
−3
@@ -1,5 +1,4 @@
1
+
; inherits: c
2
+
1
((preproc_arg) @injection.content
3
((preproc_arg) @injection.content
2
(
#set
! injection.language
"glsl"
))
4
(
#set
! injection.language
"glsl"
))
3
−
4
−
((comment) @injection.content
5
−
(
#set
! injection.language
"comment"
))
runtime/queries/llvm/injections.scm
new file
+2
@@ -0,0 +1,2 @@
1
+
((comment) @injection.content
2
+
(
#set
! injection.language
"comment"
))
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list