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
|
@ -2,4 +2,4 @@
|
|||
|
||||
First, craft your test data. The examples folder shows a template for building a test-db, and can be ran with `cargo run --example [your-example]`.
|
||||
|
||||
To actually use and test your queries, import the generated DB file into https://sqliteonline.com/
|
||||
To actually use and test your queries, import the generated DB file into https://sqliteonline.com/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -16,4 +16,4 @@ awk -v term_cols="${width:-$(tput cols || echo 80)}" -v term_lines="${height:-1}
|
|||
if (colnum%term_cols==term_cols) printf "\n";
|
||||
}
|
||||
printf "\n";
|
||||
}'
|
||||
}'
|
||||
|
|
|
@ -121,4 +121,4 @@
|
|||
{"Key":"backspace"}
|
||||
{"Key":"backspace"}
|
||||
{"Key":"backspace"}
|
||||
{"Get":{"state":"The quick browˇn\nfox jumps over\nthe lazy ˇdog.","mode":"Replace"}}
|
||||
{"Get":{"state":"The quick browˇn\nfox jumps over\nthe lazy ˇdog.","mode":"Replace"}}
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
</asmv3:application>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity type='win32'
|
||||
name='Microsoft.Windows.Common-Controls'
|
||||
version='6.0.0.0' processorArchitecture='*'
|
||||
<assemblyIdentity type='win32'
|
||||
name='Microsoft.Windows.Common-Controls'
|
||||
version='6.0.0.0' processorArchitecture='*'
|
||||
publicKeyToken='6595b64144ccf1df' />
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue