Add c injection for cgo comments

This commit is contained in:
kraftwerk28 2022-04-10 22:56:35 +03:00 committed by Christian Clason
parent d79b169af5
commit 93de9cc7a0

View file

@ -1 +1,6 @@
((comment) @c (#offset! @c 1 0 0 -2)
(import_declaration
(import_spec path: (interpreted_string_literal) @_import_path))
(#eq? @_import_path "\"C\""))
(comment) @comment