Skip to content

Commit 62488a6

Browse files
committed
Fix call_parentheses = Input don't work in editorconfig
1 parent 74b5f57 commit 62488a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/editorconfig.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ property_choice! {
6262
(Always, "always"),
6363
(NoSingleString, "nosinglestring"),
6464
(NoSingleTable, "nosingletable"),
65-
(None, "none")
65+
(None, "none"),
66+
(Input, "input")
6667
}
6768

6869
property_choice! {
@@ -134,6 +135,7 @@ fn load(mut config: Config, properties: &Properties) -> Config {
134135
config.call_parentheses = CallParenType::NoSingleTable
135136
}
136137
CallParenthesesChoice::None => config.call_parentheses = CallParenType::None,
138+
CallParenthesesChoice::Input => config.call_parentheses = CallParenType::Input,
137139
}
138140
}
139141
if let Ok(space_after_function_names) = properties.get::<SpaceAfterFunctionNamesChoice>() {

0 commit comments

Comments
 (0)