mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
fix(http): use `@variable.member` for fields fix(http): keep the comment injection fix(http): keep `method` capture as `@function.method` docs(README.md): update HTTP parser maintainers list feat(http): remove redundant captures cleanup(http): remove unneedeed highlighting captures
17 lines
393 B
Scheme
17 lines
393 B
Scheme
; Comments
|
|
((comment) @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
; Body
|
|
((json_body) @injection.content
|
|
(#set! injection.language "json"))
|
|
|
|
((xml_body) @injection.content
|
|
(#set! injection.language "xml"))
|
|
|
|
((graphql_body) @injection.content
|
|
(#set! injection.language "graphql"))
|
|
|
|
; Lua scripting
|
|
((script_variable) @injection.content
|
|
(#set! injection.language "lua"))
|