From 422bec56c37fc998fe629d7a7aaa051cd88ff416 Mon Sep 17 00:00:00 2001 From: joshvera Date: Mon, 17 Oct 2016 15:32:14 -0400 Subject: [PATCH] Map go suffixes to go tree-sitter parser --- src/Diffing.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Diffing.hs b/src/Diffing.hs index b057c80dd..7d5635ca5 100644 --- a/src/Diffing.hs +++ b/src/Diffing.hs @@ -74,6 +74,7 @@ parserForType mediaType = case languageForType mediaType of Just JavaScript -> treeSitterParser JavaScript ts_language_javascript Just Markdown -> cmarkParser Just Ruby -> treeSitterParser Ruby ts_language_ruby + Just Go -> treeSitterParser Go ts_language_go _ -> lineByLineParser -- | A fallback parser that treats a file simply as rows of strings.