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:
@@ -1,2 +1,2 @@
|
||||
(variable_assignment
|
||||
value: (_) @redact)
|
||||
value: (_) @redact)
|
||||
|
||||
@@ -106,4 +106,3 @@
|
||||
(primitive_type)
|
||||
(sized_type_specifier)
|
||||
] @type
|
||||
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
|
||||
(preproc_function_def
|
||||
value: (preproc_arg) @content
|
||||
(#set! "language" "c"))
|
||||
(#set! "language" "c"))
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
|
||||
(preproc_function_def
|
||||
value: (preproc_arg) @content
|
||||
(#set! "language" "c++"))
|
||||
(#set! "language" "c++"))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
((comment) @content
|
||||
(#set! "language" "jsdoc"))
|
||||
|
||||
|
||||
((regex) @content
|
||||
(#set! "language" "regex"))
|
||||
(#set! "language" "regex"))
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
("[" @open "]" @close)
|
||||
("{" @open "}" @close)
|
||||
("{" @open "}" @close)
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
] @punctuation.bracket
|
||||
|
||||
@@ -1 +1 @@
|
||||
(string) @string
|
||||
(string) @string
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(pair value: (number) @redact)
|
||||
(pair value: (string) @redact)
|
||||
(array (number) @redact)
|
||||
(array (string) @redact)
|
||||
(array (string) @redact)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
("{" @open "}" @close)
|
||||
("<" @open ">" @close)
|
||||
("\"" @open "\"" @close)
|
||||
(closure_parameters "|" @open "|" @close)
|
||||
(closure_parameters "|" @open "|" @close)
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
|
||||
(macro_rule
|
||||
(token_tree) @content
|
||||
(#set! "language" "rust"))
|
||||
(#set! "language" "rust"))
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
(#set! "language" "jsdoc"))
|
||||
|
||||
((regex) @content
|
||||
(#set! "language" "regex"))
|
||||
(#set! "language" "regex"))
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
(#set! "language" "jsdoc"))
|
||||
|
||||
((regex) @content
|
||||
(#set! "language" "regex"))
|
||||
(#set! "language" "regex"))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user