Clean up whitespace (#10755)
I saved the `file_types.json` file and got a diff because it had some trailing whitespace. I ran [`lineman`](https://github.com/JosephTLyons/lineman) on the codebase. I've done this before, but this time, I've added in the following settings to our `.zed` local settings, to make sure every future save respects our desire to have consistent whitespace formatting. ```json "remove_trailing_whitespace_on_save": true, "ensure_final_newline_on_save": true ``` Release Notes: - N/A
This commit is contained in:
parent
85b26e9788
commit
f6eaa8b00f
39 changed files with 45 additions and 47 deletions
|
@ -1 +0,0 @@
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
(comment) @comment
|
||||
(quoted_attribute_value) @string
|
||||
(quoted_attribute_value) @string
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
("[" @open "]" @close)
|
||||
("{" @open "}" @close)
|
||||
("(" @open ")" @close)
|
||||
("(" @open ")" @close)
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
|
||||
(_ "[" "]" @end) @indent
|
||||
(_ "{" "}" @end) @indent
|
||||
(_ "(" ")" @end) @indent
|
||||
(_ "(" ")" @end) @indent
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
(function_declaration
|
||||
"function" @context
|
||||
name: (_) @name) @item
|
||||
name: (_) @name) @item
|
||||
|
|
|
@ -4,4 +4,3 @@
|
|||
("{" @open "}" @close)
|
||||
("<" @open ">" @close)
|
||||
("\"" @open "\"" @close)
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
(extension)
|
||||
(item_extension)
|
||||
(quoted_extension)
|
||||
(quoted_item_extension)
|
||||
(quoted_item_extension)
|
||||
"%"
|
||||
] @attribute
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(type_binding)
|
||||
|
||||
(method_definition)
|
||||
|
||||
|
||||
(external)
|
||||
(value_specification)
|
||||
(method_specification)
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"module" @context
|
||||
"type" @context
|
||||
name: (_) @name) @item
|
||||
|
||||
|
||||
(type_definition
|
||||
"type" @context
|
||||
(type_binding name: (_) @name)) @item
|
||||
|
@ -25,7 +25,7 @@
|
|||
(value_specification
|
||||
"val" @context
|
||||
(value_name) @name) @item
|
||||
|
||||
|
||||
(class_definition
|
||||
"class" @context
|
||||
(class_binding
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
(list . (symbol) @name)
|
||||
]
|
||||
(#match? @start-symbol "^define")
|
||||
) @item
|
||||
) @item
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
(list . (symbol) @name)
|
||||
]
|
||||
(#match? @start-symbol "^define")
|
||||
) @item
|
||||
) @item
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
|
||||
(pair
|
||||
.
|
||||
(_) @name) @item
|
||||
(_) @name) @item
|
||||
|
|
|
@ -1 +1 @@
|
|||
(pair (bare_key) "=" (_) @redact)
|
||||
(pair (bare_key) "=" (_) @redact)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue