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(
250250 if ( manageHLS !== 'GHCup' && ( ! context . globalState . get ( 'pluginInitialized' ) as boolean | null ) ) {
251251 const promptMessage = 'How do you want the extension to manage/discover HLS and the relevant toolchain?' ;
252252
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+ ) ;
254259
255260 const decision = ( await popup ) || null ;
256261 if ( decision === 'Automatically via GHCup' ) {
@@ -403,6 +408,7 @@ export async function findHaskellLanguageServer(
403408 if ( toInstall . length > 0 ) {
404409 const decision = await window . showInformationMessage (
405410 `Need to download ${ toInstall . join ( ', ' ) } , continue?` ,
411+ { modal : true } ,
406412 'Yes' ,
407413 'No' ,
408414 "Yes, don't ask again"
You can’t perform that action at this time.
0 commit comments