@@ -201,12 +201,16 @@ sendHighlighting highlights =
201 case idris_outputmode ist of
201 case idris_outputmode ist of
202 RawOutput _ -> return ()
202 RawOutput _ -> return ()
203 IdeMode n h ->
203 IdeMode n h ->
204− let fancier = [toSExp (fc, fancifyAnnots ist False annot) | (fc, annot) <- highlights]
204+ let fancier = [ toSExp (fc, fancifyAnnots ist False annot)
205+ | (fc, annot) <- highlights, fullFC fc
205 in runIO . hPutStrLn h $
207 in runIO . hPutStrLn h $
206 convSExp "output"
208 convSExp "output"
207 (SymbolAtom "ok",
209 (SymbolAtom "ok",
208 (SymbolAtom "highlight-source", fancier)) n
210 (SymbolAtom "highlight-source", fancier)) n
212+ where fullFC (FC _ _ _) = True
212renderExternal :: OutputFmt -> Int -> Doc OutputAnnotation -> Idris String
216renderExternal :: OutputFmt -> Int -> Doc OutputAnnotation -> Idris String