Skip to content

Commit

Permalink
removed unecissary typescript config
Browse files Browse the repository at this point in the history
  • Loading branch information
Vulpesx committed Aug 9, 2024
1 parent 0c5e621 commit 75a55cf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/languages/typescript/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@ pub fn add_typescript(helix_lang_conf: &PathBuf, npm_folder: &PathBuf) {
let output_err = output.wait_with_output().unwrap();
if output_err.status.success() {
println!("Instalación de `npm install -g typescript typescript-language-server` completa");

let config_to_add = r#"
[languages.typescript]
language-server = [
{ command = "typescript-language-server", args = "--stdio" }
]"#;
if let Err(err) = read(helix_lang_conf, config_to_add) {
eprintln!("Error al leer el archivo: {err}");
}
} else {
let stderr = String::from_utf8_lossy(&output_err.stdout);
eprintln!("Error al ejecutar el comando:\n{stderr}");
Expand Down

0 comments on commit 75a55cf

Please sign in to comment.