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:
Joseph T. Lyons 2024-04-23 13:31:21 -04:00 committed by GitHub
parent 85b26e9788
commit f6eaa8b00f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 45 additions and 47 deletions

View file

@ -1,2 +1,2 @@
(comment) @comment
(quoted_attribute_value) @string
(quoted_attribute_value) @string

View file

@ -1,3 +1,3 @@
("[" @open "]" @close)
("{" @open "}" @close)
("(" @open ")" @close)
("(" @open ")" @close)

View file

@ -7,4 +7,4 @@
(_ "[" "]" @end) @indent
(_ "{" "}" @end) @indent
(_ "(" ")" @end) @indent
(_ "(" ")" @end) @indent

View file

@ -1,3 +1,3 @@
(function_declaration
"function" @context
name: (_) @name) @item
name: (_) @name) @item

View file

@ -4,4 +4,3 @@
("{" @open "}" @close)
("<" @open ">" @close)
("\"" @open "\"" @close)

View file

@ -131,7 +131,7 @@
(extension)
(item_extension)
(quoted_extension)
(quoted_item_extension)
(quoted_item_extension)
"%"
] @attribute

View file

@ -3,7 +3,7 @@
(type_binding)
(method_definition)
(external)
(value_specification)
(method_specification)

View file

@ -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

View file

@ -7,4 +7,4 @@
(list . (symbol) @name)
]
(#match? @start-symbol "^define")
) @item
) @item

View file

@ -7,4 +7,4 @@
(list . (symbol) @name)
]
(#match? @start-symbol "^define")
) @item
) @item

View file

@ -12,4 +12,4 @@
(pair
.
(_) @name) @item
(_) @name) @item

View file

@ -1 +1 @@
(pair (bare_key) "=" (_) @redact)
(pair (bare_key) "=" (_) @redact)