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 7d7c2ef commit 31757feCopy full SHA for 31757fe
ghcide/src/Development/IDE/GHC/Compat.hs
@@ -184,6 +184,7 @@ import Data.List (foldl')
184
import Data.List (foldl', isSuffixOf)
185
#endif
186
187
+import Control.Applicative ((<|>))
188
import qualified Data.Map as M
189
import DynamicLoading
190
import Plugins (Plugin (parsedResultAction),
@@ -303,7 +304,7 @@ setUpTypedHoles df
303
304
$ df
305
{ refLevelHoleFits = Just 1 -- becomes slow at higher levels
306
, maxRefHoleFits = Just 10 -- quantity does not impact speed
- , maxValidHoleFits = Nothing -- quantity does not impact speed
307
+ , maxValidHoleFits = maxValidHoleFits df <|> Just 10 -- quantity does not impact speed
308
}
309
310
0 commit comments