From 99e4e8da2879658a4127a8d2ec54e484040c2f73 Mon Sep 17 00:00:00 2001 From: Rick Winfrey Date: Wed, 11 Jan 2017 15:09:19 -0800 Subject: [PATCH] Add type and field declarations to Go category list --- src/Language/Go.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Language/Go.hs b/src/Language/Go.hs index 239113ecd..201215317 100644 --- a/src/Language/Go.hs +++ b/src/Language/Go.hs @@ -240,4 +240,6 @@ categoryForGoName = \case "parameter_declaration" -> ParameterDecl "expression_case" -> Case "type_spec" -> TypeDecl + "type_declaration" -> TypeDecl + "field_declaration" -> FieldDecl s -> Other (toS s)