mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
feat(http): switch to new parser version
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
This commit is contained in:
parent
bb3dd60ebc
commit
c4e0f290d7
5 changed files with 35 additions and 13 deletions
|
|
@ -1,11 +1,17 @@
|
|||
; 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")) ; Not used as of now..
|
||||
((graphql_body) @injection.content
|
||||
(#set! injection.language "graphql"))
|
||||
|
||||
; Lua scripting
|
||||
((script_variable) @injection.content
|
||||
(#set! injection.language "lua"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue