Highlight comments in c, cpp, cmake and llvm (#1309)

Also, reuse the c injections in glsl
pull/1312/head
Sebastian Neubauer 3 years ago committed by GitHub
parent e72786df8e
commit 23091c9d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))

@ -0,0 +1,4 @@
((line_comment) @injection.content
(#set! injection.language "comment"))
((bracket_comment) @injection.content
(#set! injection.language "comment"))

@ -1,5 +1,4 @@
; inherits: c
((preproc_arg) @injection.content ((preproc_arg) @injection.content
(#set! injection.language "glsl")) (#set! injection.language "glsl"))
((comment) @injection.content
(#set! injection.language "comment"))

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))
Loading…
Cancel
Save