Draft a project part of the prettier
This commit is contained in:
parent
eced842dfc
commit
553abd01be
6 changed files with 122 additions and 14 deletions
|
@ -149,10 +149,15 @@ pub enum ShowWhitespaceSetting {
|
|||
All,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq, JsonSchema)]
|
||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, PartialEq, Eq, JsonSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum Formatter {
|
||||
#[default]
|
||||
Auto,
|
||||
LanguageServer,
|
||||
Prettier {
|
||||
config: (), // Support some of the most important settings in the prettier-vscode extension.
|
||||
},
|
||||
External {
|
||||
command: Arc<str>,
|
||||
arguments: Arc<[String]>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue