Skip to content

Commit

Permalink
adding typescriptreact filetype match for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelb committed Jun 29, 2021
1 parent 105d952 commit 3e90624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/interpreters/TypeScript_original.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?
]
Expand Down

0 comments on commit 3e90624

Please sign in to comment.