@@ -312,7 +312,7 @@ runIdeSlaveCommand id orig fn mods (IdeSlave.SetOpt IdeSlave.ErrContext b) =
312runIdeSlaveCommand id orig fn mods (IdeSlave.Metavariables cols) =
312runIdeSlaveCommand id orig fn mods (IdeSlave.Metavariables cols) =
313 do ist <- getIState
313 do ist <- getIState
314 let mvs = reverse $ map fst (idris_metavars ist) \\ primDefs
314 let mvs = reverse $ map fst (idris_metavars ist) \\ primDefs
315− let ppo = ppOption (idris_options ist)
315+ let ppo = ppOptionIst ist
316 let mvarTys = map (delabTy ist) mvs
316 let mvarTys = map (delabTy ist) mvs
317 let res = (IdeSlave.SymbolAtom "ok",
317 let res = (IdeSlave.SymbolAtom "ok",
318 zipWith (\ n (prems, concl) -> (n, prems, concl))
318 zipWith (\ n (prems, concl) -> (n, prems, concl))
@@ -581,7 +581,7 @@ process h fn (ExecVal t)
581process h fn (Check (PRef _ n))
581process h fn (Check (PRef _ n))
582 = do ctxt <- getContext
582 = do ctxt <- getContext
583 ist <- getIState
583 ist <- getIState
584− let ppo = ppOption (idris_options ist)
584+ let ppo = ppOptionIst ist
585 case lookupNames n ctxt of
585 case lookupNames n ctxt of
586 ts@(t:_) ->
586 ts@(t:_) ->
587 case lookup t (idris_metavars ist) of
587 case lookup t (idris_metavars ist) of
@@ -610,14 +610,14 @@ process h fn (Check (PRef _ n))
610 annotate (AnnName n Nothing Nothing Nothing) (text $ show n) <+> colon <+>
610 annotate (AnnName n Nothing Nothing Nothing) (text $ show n) <+> colon <+>
611 align (tPretty bnd ist g)
611 align (tPretty bnd ist g)
613− tPretty bnd ist t = pprintPTerm (ppOption (idris_options ist)) bnd [] (idris_infixes ist) t
613+ tPretty bnd ist t = pprintPTerm (ppOptionIst ist) bnd [] (idris_infixes ist) t
616process h fn (Check t)
616process h fn (Check t)
617 = do (tm, ty) <- elabVal toplevel False t
617 = do (tm, ty) <- elabVal toplevel False t
618 ctxt <- getContext
618 ctxt <- getContext
619 ist <- getIState
619 ist <- getIState
620− let ppo = ppOption (idris_options ist)
620+ let ppo = ppOptionIst ist
621 ty' = normaliseC ctxt [] ty
621 ty' = normaliseC ctxt [] ty
622 case tm of
622 case tm of
623 TType _ ->
623 TType _ ->
@@ -664,7 +664,7 @@ process h fn (TotCheck n)
664 [] -> ihPrintError h $ "Unknown operator " ++ show n
664 [] -> ihPrintError h $ "Unknown operator " ++ show n
665 ts -> do ist <- getIState
665 ts -> do ist <- getIState
666 c <- colourise
666 c <- colourise
667− let ppo = ppOption (idris_options ist)
667+ let ppo = ppOptionIst ist
668 let showN = showName (Just ist) [] ppo c
668 let showN = showName (Just ist) [] ppo c
669 ihPrintResult h . concat . intersperse "\n" .
669 ihPrintResult h . concat . intersperse "\n" .
670 map (\(n, t) -> showN n ++ " is " ++ showTotal t i) $
670 map (\(n, t) -> showN n ++ " is " ++ showTotal t i) $