1

Update generated neovim config

This commit is contained in:
2024-09-22 20:41:25 +02:00
parent 1743764e48
commit aa1271c42c
1247 changed files with 26512 additions and 15067 deletions

View File

@ -7,11 +7,7 @@
; html(`...`), html`...`, sql(`...`), etc.
(call_expression
function: [
(await_expression
(identifier) @injection.language)
(identifier) @injection.language
]
function: (identifier) @injection.language
arguments: [
(arguments
(template_string) @injection.content)
@ -27,13 +23,8 @@
; svg`...` or svg(`...`)
(call_expression
function: [
(await_expression
(identifier) @_name
(#eq? @_name "svg"))
((identifier) @_name
(#eq? @_name "svg"))
]
function: (identifier) @_name
(#eq? @_name "svg")
arguments: [
(arguments
(template_string) @injection.content)
@ -46,13 +37,8 @@
; Vercel PostgreSQL
; foo.sql`...` or foo.sql(`...`)
(call_expression
function: [
(await_expression
(member_expression
property: (property_identifier) @injection.language))
(member_expression
property: (property_identifier) @injection.language)
]
function: (member_expression
property: (property_identifier) @injection.language)
arguments: [
(arguments
(template_string) @injection.content)
@ -63,47 +49,29 @@
(#set! injection.include-children))
(call_expression
function: [
(await_expression
(identifier) @_name
(#eq? @_name "gql"))
((identifier) @_name
(#eq? @_name "gql"))
]
arguments: ((template_string) @injection.content
(#offset! @injection.content 0 1 0 -1)
(#set! injection.include-children)
(#set! injection.language "graphql")))
function: (identifier) @_name
(#eq? @_name "gql")
arguments: (template_string) @injection.content
(#offset! @injection.content 0 1 0 -1)
(#set! injection.include-children)
(#set! injection.language "graphql"))
(call_expression
function: [
(await_expression
(identifier) @_name
(#eq? @_name "hbs"))
((identifier) @_name
(#eq? @_name "hbs"))
]
arguments: ((template_string) @injection.content
(#offset! @injection.content 0 1 0 -1)
(#set! injection.include-children)
(#set! injection.language "glimmer")))
((glimmer_template) @injection.content
function: (identifier) @_name
(#eq? @_name "hbs")
arguments: (template_string) @injection.content
(#offset! @injection.content 0 1 0 -1)
(#set! injection.include-children)
(#set! injection.language "glimmer"))
; css`<css>`, keyframes`<css>`
(call_expression
function: [
(await_expression
(identifier) @_name
(#any-of? @_name "css" "keyframes"))
((identifier) @_name
(#any-of? @_name "css" "keyframes"))
]
arguments: ((template_string) @injection.content
(#offset! @injection.content 0 1 0 -1)
(#set! injection.include-children)
(#set! injection.language "styled")))
function: (identifier) @_name
(#any-of? @_name "css" "keyframes")
arguments: (template_string) @injection.content
(#offset! @injection.content 0 1 0 -1)
(#set! injection.include-children)
(#set! injection.language "styled"))
; styled.div`<css>`
(call_expression