Skip to content

Commit 3024c80

Browse files
fix some module import completions being dropped (#2595)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 3f46851 commit 3024c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Text/Fuzzy/Parallel.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ parVectorChunk chunkSize st v =
132132
chunkVector :: Int -> Vector a -> [Vector a]
133133
chunkVector chunkSize v = do
134134
let indices = chunkIndices chunkSize (0,V.length v)
135-
[V.slice l (h-l) v | (l,h) <- indices]
135+
[V.slice l (h-l+1) v | (l,h) <- indices]
136136

137137
-- >>> chunkIndices 3 (0,9)
138138
-- >>> chunkIndices 3 (0,10)

0 commit comments

Comments
 (0)