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 74cfe30 commit 0cf081dCopy full SHA for 0cf081d
src/Ide/Main.hs
@@ -102,7 +102,7 @@ runLspMode lspArgs@LspArguments{..} idePlugins = do
102
hPutStrLn stderr "If you are seeing this in a terminal, you probably should have run ghcide WITHOUT the --lsp option!"
103
104
Main.defaultMain def
105
- { Main.argFiles = if argLSP then Nothing else Just []
+ { Main.argFiles = if argLSP then Nothing else Just argFiles
106
, Main.argsHlsPlugins = idePlugins
107
, Main.argsLogger = pure hlsLogger
108
, Main.argsIdeOptions = \_config sessionLoader ->
0 commit comments