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 @@
(variable_assignment
value: (_) @redact)
value: (_) @redact)

View file

@ -106,4 +106,3 @@
(primitive_type)
(sized_type_specifier)
] @type

View file

@ -4,4 +4,4 @@
(preproc_function_def
value: (preproc_arg) @content
(#set! "language" "c"))
(#set! "language" "c"))

View file

@ -4,4 +4,4 @@
(preproc_function_def
value: (preproc_arg) @content
(#set! "language" "c++"))
(#set! "language" "c++"))

View file

@ -1,5 +1,5 @@
((comment) @content
(#set! "language" "jsdoc"))
((regex) @content
(#set! "language" "regex"))
(#set! "language" "regex"))

View file

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

View file

@ -18,4 +18,4 @@
"}"
"["
"]"
] @punctuation.bracket
] @punctuation.bracket

View file

@ -1 +1 @@
(string) @string
(string) @string

View file

@ -1,4 +1,4 @@
(pair value: (number) @redact)
(pair value: (string) @redact)
(array (number) @redact)
(array (string) @redact)
(array (string) @redact)

View file

@ -11,4 +11,4 @@
(begin "begin" @open "end" @close)
(module "module" @open "end" @close)
(_ . "def" @open "end" @close)
(_ . "class" @open "end" @close)
(_ . "class" @open "end" @close)

View file

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

View file

@ -4,4 +4,4 @@
(macro_rule
(token_tree) @content
(#set! "language" "rust"))
(#set! "language" "rust"))

View file

@ -2,4 +2,4 @@
(#set! "language" "jsdoc"))
((regex) @content
(#set! "language" "regex"))
(#set! "language" "regex"))

View file

@ -2,4 +2,4 @@
(#set! "language" "jsdoc"))
((regex) @content
(#set! "language" "regex"))
(#set! "language" "regex"))

View file

@ -20,10 +20,10 @@
[
(anchor_name)
(alias_name)
(tag)
(tag)
] @type
key: (flow_node (plain_scalar (string_scalar) @property))
key: (flow_node (plain_scalar (string_scalar) @property))
[
","
@ -46,4 +46,4 @@ key: (flow_node (plain_scalar (string_scalar) @property))
"&"
"---"
"..."
] @punctuation.special
] @punctuation.special

View file

@ -1 +1 @@
(block_mapping_pair key: (flow_node (plain_scalar (string_scalar) @name))) @item
(block_mapping_pair key: (flow_node (plain_scalar (string_scalar) @name))) @item