We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1115065 commit d79b6b1Copy full SHA for d79b6b1
plugins/hls-haddock-comments-plugin/src/Ide/Plugin/HaddockComments.hs
@@ -14,7 +14,6 @@ import qualified Data.HashMap.Strict as HashMap
14
import qualified Data.Map as Map
15
import qualified Data.Text as T
16
import Development.IDE
17
-import Development.IDE.Core.PositionMapping
18
import Development.IDE.GHC.Compat
19
import Ide.Types
20
import Language.Haskell.GHC.ExactPrint
@@ -126,7 +125,7 @@ calcRange :: SrcSpan -> Range -> Maybe Range
126
125
calcRange src range
127
| inRange range src,
128
(RealSrcSpan span) <- src,
129
- Just range' <- toCurrentRange zeroMapping $ realSrcSpanToRange span =
+ range' <- realSrcSpanToRange span =
130
Just range'
131
| otherwise = Nothing
132
0 commit comments