diff --git a/src/ParseCommand.hs b/src/ParseCommand.hs index 9d310e5b1..2f0f9af34 100644 --- a/src/ParseCommand.hs +++ b/src/ParseCommand.hs @@ -24,7 +24,6 @@ import Text.Parser.TreeSitter.C import Text.Parser.TreeSitter.Go import Text.Parser.TreeSitter.JavaScript import Text.Parser.TreeSitter.Ruby -import Text.Parser.TreeSitter.TypeScript data ParseJSON = ParseJSON { category :: Text @@ -63,7 +62,6 @@ parserForType :: Text -> Parser (Syntax Text) (Record '[Range, Category, SourceS parserForType mediaType = case languageForType mediaType of Just C -> treeSitterParser C tree_sitter_c Just JavaScript -> treeSitterParser JavaScript tree_sitter_javascript - Just TypeScript -> treeSitterParser TypeScript tree_sitter_typescript Just Markdown -> cmarkParser Just Ruby -> treeSitterParser Ruby tree_sitter_ruby Just Language.Go -> treeSitterParser Language.Go tree_sitter_go diff --git a/test/IntegrationSpec.hs b/test/IntegrationSpec.hs index 212a9dece..f85087b66 100644 --- a/test/IntegrationSpec.hs +++ b/test/IntegrationSpec.hs @@ -26,12 +26,10 @@ spec = parallel $ do it "lists example fixtures" $ do examples "test/fixtures/go/" `shouldNotReturn` [] examples "test/fixtures/javascript/" `shouldNotReturn` [] - examples "test/fixtures/typescript/" `shouldNotReturn` [] examples "test/fixtures/ruby/" `shouldNotReturn` [] describe "go" $ runTestsIn "test/fixtures/go/" describe "javascript" $ runTestsIn "test/fixtures/javascript/" - describe "typescript" $ runTestsIn "test/fixtures/typescript/" describe "ruby" $ runTestsIn "test/fixtures/ruby/" where