style: format query

This commit is contained in:
datwaft 2024-03-22 16:13:40 -06:00 committed by ObserverOfTime
parent 7051a72755
commit 965f2e7239

View file

@ -181,17 +181,14 @@
; vim.filetype.add({ pattern = { ["some lua pattern here"] = "filetype" } })
((function_call
name: (_) @_filetypeadd_identifier
arguments:
(arguments
(table_constructor
(field
name: (_) @_pattern_key
value:
(table_constructor
(field
name:
(string
content: _ @injection.content)))))))
arguments: (arguments
(table_constructor
(field
name: (_) @_pattern_key
value: (table_constructor
(field
name: (string
content: _ @injection.content)))))))
(#set! injection.language "luap")
(#eq? @_filetypeadd_identifier "vim.filetype.add")
(#eq? @_pattern_key "pattern"))