File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ main = do
71
71
then Test. plugin
72
72
else mempty
73
73
74
+ ,Main. argsThreads = case argsThreads of 0 -> Nothing ; i -> Just (fromIntegral i)
75
+
74
76
,Main. argsIdeOptions = \ config sessionLoader ->
75
77
let defOptions = defaultIdeOptions sessionLoader
76
78
in defOptions
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ runLspMode ghcideArgs@GhcideArguments{..} idePlugins = do
98
98
{ Main. argCommand = argsCommand
99
99
, Main. argsHlsPlugins = idePlugins
100
100
, Main. argsLogger = pure hlsLogger
101
+ , Main. argsThreads = if argsThreads == 0 then Nothing else Just $ fromIntegral argsThreads
101
102
, Main. argsIdeOptions = \ _config sessionLoader ->
102
103
let defOptions = Ghcide. defaultIdeOptions sessionLoader
103
104
in defOptions
You can’t perform that action at this time.
0 commit comments