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 e8ee9f9 commit 44c5819Copy full SHA for 44c5819
plugins/hls-code-range-plugin/src/Ide/Plugin/CodeRange.hs
@@ -157,7 +157,7 @@ findFoldingRanges r@(CodeRange _ children _) =
157
let frChildren :: [FoldingRange] = concat $ V.toList $ fmap findFoldingRanges children
158
in case createFoldingRange r of
159
Just x -> x:frChildren
160
- Nothing -> []
+ Nothing -> frChildren
161
162
-- | Parses code range to folding range
163
createFoldingRange :: CodeRange -> Maybe FoldingRange
0 commit comments