mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -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
|
|
@ -92,8 +92,7 @@
|
|||
(module) @module
|
||||
|
||||
(import
|
||||
alias:
|
||||
((identifier) @module)?)
|
||||
alias: ((identifier) @module)?)
|
||||
|
||||
(remote_type_identifier
|
||||
module: (identifier) @module)
|
||||
|
|
@ -114,10 +113,9 @@
|
|||
|
||||
; Function Parameter Labels
|
||||
(function_call
|
||||
arguments:
|
||||
(arguments
|
||||
(argument
|
||||
label: (label) @label)))
|
||||
arguments: (arguments
|
||||
(argument
|
||||
label: (label) @label)))
|
||||
|
||||
(function_parameter
|
||||
label: (label)? @label
|
||||
|
|
@ -125,10 +123,9 @@
|
|||
|
||||
; Records
|
||||
(record
|
||||
arguments:
|
||||
(arguments
|
||||
(argument
|
||||
label: (label) @variable.member)?))
|
||||
arguments: (arguments
|
||||
(argument
|
||||
label: (label) @variable.member)?))
|
||||
|
||||
(record_pattern_argument
|
||||
label: (label) @variable.member)
|
||||
|
|
@ -173,9 +170,8 @@
|
|||
function: (identifier) @function.call)
|
||||
|
||||
(function_call
|
||||
function:
|
||||
(field_access
|
||||
field: (label) @function.call))
|
||||
function: (field_access
|
||||
field: (label) @function.call))
|
||||
|
||||
; External Functions
|
||||
(external_function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue