mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
fix(cpp): add back comment injection
This commit is contained in:
parent
4416d21466
commit
2b6020247d
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
|||
((preproc_arg) @injection.content
|
||||
(#set! injection.language "cpp"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#lua-match? @injection.content "/[*][!<*][^a-zA-Z]")
|
||||
(#set! injection.language "doxygen"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue