We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4d5420 commit b0b57c2Copy full SHA for b0b57c2
ghcide/exe/Main.hs
@@ -71,6 +71,8 @@ main = do
71
then Test.plugin
72
else mempty
73
74
+ ,Main.argsThreads = case argsThreads of 0 -> Nothing ; i -> Just (fromIntegral i)
75
+
76
,Main.argsIdeOptions = \config sessionLoader ->
77
let defOptions = defaultIdeOptions sessionLoader
78
in defOptions
src/Ide/Main.hs
@@ -98,6 +98,7 @@ runLspMode ghcideArgs@GhcideArguments{..} idePlugins = do
98
{ Main.argCommand = argsCommand
99
, Main.argsHlsPlugins = idePlugins
100
, Main.argsLogger = pure hlsLogger
101
+ , Main.argsThreads = if argsThreads == 0 then Nothing else Just $ fromIntegral argsThreads
102
, Main.argsIdeOptions = \_config sessionLoader ->
103
let defOptions = Ghcide.defaultIdeOptions sessionLoader
104
0 commit comments