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 d6a8666 commit e9dc569Copy full SHA for e9dc569
plugins/hls-code-range-plugin/src/Ide/Plugin/CodeRange.hs
@@ -175,7 +175,7 @@ removeDupStartLineFoldings :: [FoldingRange] -> [FoldingRange]
175
removeDupStartLineFoldings [] = []
176
removeDupStartLineFoldings [x] = [x]
177
removeDupStartLineFoldings (frx@(FoldingRange x _ _ _ _):xs@((FoldingRange y _ _ _ _):xs2))
178
- | x == y = removeDupStartLineFoldings ([frx]++xs2)
+ | x == y = removeDupStartLineFoldings (frx:xs2)
179
| otherwise = frx : removeDupStartLineFoldings xs
180
181
-- | Likes 'toCurrentPosition', but works on 'SelectionRange'
0 commit comments