about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2023-01-19 18:34:01 -0800
committerMaria José Solano <majosolano99@gmail.com>2023-01-19 18:34:01 -0800
commitf7fcdb62186a2c7572b50ca893adebe638c7d2f6 (patch)
tree308c8137c9ca2afa79ced926ee5f30f4e669aeeb
parentd044bc35042881e26427034bbf2c48b63acf187a (diff)
downloadrust-f7fcdb62186a2c7572b50ca893adebe638c7d2f6.tar.gz
rust-f7fcdb62186a2c7572b50ca893adebe638c7d2f6.zip
Order alphabetically
-rw-r--r--crates/rust-analyzer/src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 49b4aa615a5..78e264dce30 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -195,12 +195,12 @@ config_data! {
         completion_autoself_enable: bool        = "true",
         /// Whether to add parenthesis and argument snippets when completing function.
         completion_callable_snippets: CallableCompletionDef  = "\"fill_arguments\"",
+        /// Maximum number of completions to return. If `None`, the limit is infinite.
+        completion_limit: Option<usize> = "null",
         /// Whether to show postfix snippets like `dbg`, `if`, `not`, etc.
         completion_postfix_enable: bool         = "true",
         /// Enables completions of private items and fields that are defined in the current workspace even if they are not visible at the current position.
         completion_privateEditable_enable: bool = "false",
-        /// Maximum number of completions to return. If `None`, the limit is infinite.
-        completion_limit: Option<usize> = "null",
         /// Custom completion snippets.
         // NOTE: Keep this list in sync with the feature docs of user snippets.
         completion_snippets_custom: FxHashMap<String, SnippetDef> = r#"{