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.