Skip to content

Commit

Permalink
Omit <schema> for uknowns
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Oct 24, 2024
1 parent 000fe05 commit e39c4e3
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions src/Restyler/Docs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,13 @@ settings =
, RonnAngles $ RonnBracket $ RonnRaw x
]
Unknown {} ->
RonnConcat
[ RonnBacktick
$ RonnRaw
$ pack
$ intercalate "."
$ concatMap (toList . fst)
$ toList
$ confDocKeys doc
, "="
, RonnAngles "schema"
]
RonnBacktick
$ RonnRaw
$ pack
$ intercalate "."
$ concatMap (toList . fst)
$ toList
$ confDocKeys doc
)
( \doc -> case getSchemaLines doc of
SingleType {} ->
Expand Down

0 comments on commit e39c4e3

Please sign in to comment.