Skip to content

Commit 0773ec8

Browse files
authored
Fix compile_commands prompt not being per-folder. (#3399)
1 parent 9f842ac commit 0773ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ class DefaultClient implements Client {
10851085
return;
10861086
}
10871087

1088-
let ask: PersistentState<boolean> = new PersistentState<boolean>("CPP.showCompileCommandsSelection", true);
1088+
let ask: PersistentFolderState<boolean> = new PersistentFolderState<boolean>("CPP.showCompileCommandsSelection", true, this.RootPath);
10891089
if (!ask.Value) {
10901090
return;
10911091
}

0 commit comments

Comments
 (0)