@@ -438,7 +438,7 @@ runIdeModeCommand h id orig fn mods (IdeMode.Metavariables cols) =
438438 in
439439 displaySpans .
440440 renderPretty 0.9 cols .
441− fmap (fancifyAnnots ist) .
441+ fmap (fancifyAnnots ist True) .
442442 annotate (AnnTerm (zip bnd (take (length bnd) (repeat False))) t) $
443443 prettyT
444444
@@ -463,7 +463,7 @@ runIdeModeCommand h id orig fn mods (IdeMode.WhoCalls n) =
463463 runIO . hPutStrLn h $ IdeMode.convSExp "return" msg id
464464 where pn ist = displaySpans .
465465 renderPretty 0.9 1000 .
466− fmap (fancifyAnnots ist) .
466+ fmap (fancifyAnnots ist True) .
467467 prettyName True True []
468468
469469runIdeModeCommand h id orig fn mods (IdeMode.CallsWho n) =
@@ -476,7 +476,7 @@ runIdeModeCommand h id orig fn mods (IdeMode.CallsWho n) =
476476 runIO . hPutStrLn h $ IdeMode.convSExp "return" msg id
477477 where pn ist = displaySpans .
478478 renderPretty 0.9 1000 .
479− fmap (fancifyAnnots ist) .
479+ fmap (fancifyAnnots ist True) .
480480 prettyName True True []
481481
482482runIdeModeCommand h id orig fn modes (IdeMode.BrowseNS ns) =
@@ -491,7 +491,7 @@ runIdeModeCommand h id orig fn modes (IdeMode.BrowseNS ns) =
491491 runIO . hPutStrLn h $ IdeMode.convSExp "return" msg id
492492 where pn ist = displaySpans .
493493 renderPretty 0.9 1000 .
494− fmap (fancifyAnnots ist) .
494+ fmap (fancifyAnnots ist True) .
495495 prettyName True True []
496496runIdeModeCommand h id orig fn modes (IdeMode.TermNormalise bnd tm) =
497497 do ctxt <- getContext
@@ -506,7 +506,7 @@ runIdeModeCommand h id orig fn modes (IdeMode.TermNormalise bnd tm) =
506506 msg = (IdeMode.SymbolAtom "ok",
507507 displaySpans .
508508 renderPretty 0.9 80 .
509− fmap (fancifyAnnots ist) $ ptm)
509+ fmap (fancifyAnnots ist True) $ ptm)
510510 runIO . hPutStrLn h $ IdeMode.convSExp "return" msg id
511511runIdeModeCommand h id orig fn modes (IdeMode.TermShowImplicits bnd tm) =
512512 ideModeForceTermImplicits h id bnd True tm
@@ -519,7 +519,7 @@ runIdeModeCommand h id orig fn modes (IdeMode.TermElab bnd tm) =
519519 msg = (IdeMode.SymbolAtom "ok",
520520 displaySpans .
521521 renderPretty 0.9 70 .
522− fmap (fancifyAnnots ist) $ ptm)
522+ fmap (fancifyAnnots ist True) $ ptm)
523523 runIO . hPutStrLn h $ IdeMode.convSExp "return" msg id
524524runIdeModeCommand h id orig fn mods (IdeMode.PrintDef name) =
525525 case splitName name of
@@ -535,7 +535,7 @@ runIdeModeCommand h id orig fn modes (IdeMode.ErrPPrint e) =
535535 let (out, spans) =
536536 displaySpans .
537537 renderPretty 0.9 80 .
538− fmap (fancifyAnnots ist) $ pprintErr ist e
538+ fmap (fancifyAnnots ist True) $ pprintErr ist e
539539 msg = (IdeMode.SymbolAtom "ok", out, spans)
540540 runIO . hPutStrLn h $ IdeMode.convSExp "return" msg id
541541runIdeModeCommand h id orig fn modes IdeMode.GetIdrisVersion =
@@ -558,7 +558,7 @@ ideModeForceTermImplicits h id bnd impl tm =
558558 msg = (IdeMode.SymbolAtom "ok",
559559 displaySpans .
560560 renderPretty 0.9 80 .
561− fmap (fancifyAnnots ist) $ expl)
561+ fmap (fancifyAnnots ist True) $ expl)
562562 runIO . hPutStrLn h $ IdeMode.convSExp "return" msg id
563563
564564splitName :: String -> Either String Name
@@ -788,7 +788,7 @@ process fn (NewDefn decls) = do
788788 mapM_ defineName namedGroups where
789789 namedGroups = groupBy (\d1 d2 -> getName d1 == getName d2) decls
790790 getName :: PDecl -> Maybe Name
791− getName (PTy docs argdocs syn fc opts name ty) = Just name
791+ getName (PTy docs argdocs syn fc opts name _ ty) = Just name
792792 getName (PClauses fc opts name (clause:clauses)) = Just (getClauseName clause)
793793 getName (PData doc argdocs syn fc opts dataDecl) = Just (d_name dataDecl)
794794 getName (PClass doc syn fc constraints name parms parmdocs fds decls) = Just name
@@ -797,7 +797,7 @@ process fn (NewDefn decls) = do
797797 getClauseName (PClause fc name whole with rhs whereBlock) = name
798798 getClauseName (PWith fc name whole with rhs pn whereBlock) = name
799799 defineName :: [PDecl] -> Idris ()
800− defineName (tyDecl@(PTy docs argdocs syn fc opts name ty) : decls) = do
800+ defineName (tyDecl@(PTy docs argdocs syn fc opts name _ ty) : decls) = do
801801 elabDecl EAll recinfo tyDecl
802802 elabClauses recinfo fc opts name (concatMap getClauses decls)
803803 setReplDefined (Just name)
@@ -896,7 +896,7 @@ process fn (Check (PRef _ n))
896896 case lookupNames n ctxt of
897897 ts@(t:_) ->
898898 case lookup t (idris_metavars ist) of
899− Just (_, i, _) -> iRenderResult . fmap (fancifyAnnots ist) $
899+ Just (_, i, _) -> iRenderResult . fmap (fancifyAnnots ist True) $
900900 showMetavarInfo ppo ist n i
901901 Nothing -> iPrintFunTypes [] n (map (\n -> (n, pprintDelabTy ist n)) ts)
902902 [] -> iPrintError $ "No such variable " ++ show n