Initialize prettier_server.js wrapper along with default prettier

This commit is contained in:
Kirill Bulatov 2023-09-17 01:21:46 +03:00
parent 010bb73ac2
commit dca93fb177
7 changed files with 7 additions and 39 deletions

View file

@ -18,6 +18,8 @@ pub struct LocateStart {
pub starting_path: Arc<Path>,
}
pub const PRETTIER_SERVER_JS: &str = include_str!("./prettier_server.js");
impl Prettier {
// This was taken from the prettier-vscode extension.
pub const CONFIG_FILE_NAMES: &'static [&'static str] = &[