mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
refactor(format): drop extra indentation for field
This commit is contained in:
parent
c28396de30
commit
722617e672
140 changed files with 2146 additions and 2766 deletions
|
|
@ -1,19 +1,16 @@
|
|||
(call
|
||||
function:
|
||||
(attribute
|
||||
object: (identifier) @_re)
|
||||
arguments:
|
||||
(argument_list
|
||||
.
|
||||
(string
|
||||
(string_content) @injection.content))
|
||||
function: (attribute
|
||||
object: (identifier) @_re)
|
||||
arguments: (argument_list
|
||||
.
|
||||
(string
|
||||
(string_content) @injection.content))
|
||||
(#eq? @_re "re")
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
((binary_operator
|
||||
left:
|
||||
(string
|
||||
(string_content) @injection.content)
|
||||
left: (string
|
||||
(string_content) @injection.content)
|
||||
operator: "%")
|
||||
(#set! injection.language "printf"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue