@@ -201,12 +201,16 @@ sendHighlighting highlights =
201201 case idris_outputmode ist of
202202 RawOutput _ -> return ()
203203 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
206+ ]
205207 in runIO . hPutStrLn h $
206208 convSExp "output"
207209 (SymbolAtom "ok",
208210 (SymbolAtom "highlight-source", fancier)) n
209211
212+ where fullFC (FC _ _ _) = True
213+ fullFC _ = False
210214
211215
212216renderExternal :: OutputFmt -> Int -> Doc OutputAnnotation -> Idris String