diff --git a/Cargo.lock b/Cargo.lock index 2d0d622d..1812f5dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -251,7 +251,7 @@ dependencies = [ [[package]] name = "sniprun" -version = "0.5.8" +version = "0.5.9" dependencies = [ "dirs", "libc", diff --git a/src/interpreters/TypeScript_original.rs b/src/interpreters/TypeScript_original.rs index 44fff6a7..3fc8fd39 100644 --- a/src/interpreters/TypeScript_original.rs +++ b/src/interpreters/TypeScript_original.rs @@ -37,6 +37,7 @@ impl Interpreter for TypeScript_original { String::from("TypeScript"), // in 1st position of vector, used for info only //':set ft?' in nvim to get the filetype of opened file String::from("typescript"), + String::from("typescriptreact"), String::from("ts"), //should not be necessary, but just in case // another similar name (like python and python3)? ]