mirror of
https://github.com/github/semantic.git
synced 2025-01-05 14:11:33 +03:00
Don’t add “modifier” for now.
This commit is contained in:
parent
cd5a51aa7a
commit
abe529534a
@ -480,7 +480,7 @@ instance HasCategory Category where
|
||||
C.FieldDeclarations -> "field declarations"
|
||||
C.RuneLiteral -> "rune literal"
|
||||
C.Modifier C.Rescue -> "rescue modifier"
|
||||
C.Modifier c -> toCategoryName c <> " modifier"
|
||||
C.Modifier c -> toCategoryName c
|
||||
|
||||
instance HasField fields Category => HasCategory (SyntaxTerm leaf fields) where
|
||||
toCategoryName = toCategoryName . category . extract
|
||||
|
Loading…
Reference in New Issue
Block a user