File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,12 @@ export async function findHaskellLanguageServer(
250
250
if ( manageHLS !== 'GHCup' && ( ! context . globalState . get ( 'pluginInitialized' ) as boolean | null ) ) {
251
251
const promptMessage = 'How do you want the extension to manage/discover HLS and the relevant toolchain?' ;
252
252
253
- const popup = window . showInformationMessage ( promptMessage , 'Automatically via GHCup' , 'Manually via PATH' ) ;
253
+ const popup = window . showInformationMessage (
254
+ promptMessage ,
255
+ { modal : true } ,
256
+ 'Automatically via GHCup' ,
257
+ 'Manually via PATH'
258
+ ) ;
254
259
255
260
const decision = ( await popup ) || null ;
256
261
if ( decision === 'Automatically via GHCup' ) {
@@ -403,6 +408,7 @@ export async function findHaskellLanguageServer(
403
408
if ( toInstall . length > 0 ) {
404
409
const decision = await window . showInformationMessage (
405
410
`Need to download ${ toInstall . join ( ', ' ) } , continue?` ,
411
+ { modal : true } ,
406
412
'Yes' ,
407
413
'No' ,
408
414
"Yes, don't ask again"
You can’t perform that action at this time.
0 commit comments