Skip to content

Commit 3b1da29

Browse files
committed
Fix comment error
1 parent cc0dc59 commit 3b1da29

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/emmylua_code_analysis/resources/schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,12 @@
558558
]
559559
},
560560
"autoRequireSeparator": {
561-
"description": "Whether to use call snippets in completions.",
561+
"description": "A separator used in auto-require paths.",
562562
"default": ".",
563563
"type": "string"
564564
},
565565
"callSnippet": {
566+
"description": "Whether to use call snippets in completions.",
566567
"default": false,
567568
"type": "boolean"
568569
},

crates/emmylua_code_analysis/src/config/configs/completion.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ pub struct EmmyrcCompletion {
1919
/// The naming convention for auto-required filenames.
2020
#[serde(default)]
2121
pub auto_require_naming_convention: EmmyrcFilenameConvention,
22-
/// Whether to use call snippets in completions.
22+
/// A separator used in auto-require paths.
2323
#[serde(default = "default_auto_require_separator")]
2424
pub auto_require_separator: String,
25+
/// Whether to use call snippets in completions.
2526
#[serde(default)]
2627
#[serde_as(deserialize_as = "DefaultOnError")]
2728
pub call_snippet: bool,

0 commit comments

Comments
 (0)