We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e21f719 commit 1eb8faeCopy full SHA for 1eb8fae
lspserver/src/fstar.ts
@@ -61,6 +61,10 @@ export class FStar {
61
if (config.include_dirs) {
62
config.include_dirs.forEach((dir) => { options.push("--include"); options.push(dir); });
63
}
64
+ if (!config.include_dirs || config.include_dirs.length === 0) {
65
+ options.push("--include");
66
+ options.push(path.dirname(filePath));
67
+ }
68
if (!config.fstar_exe) {
69
config.fstar_exe = "fstar.exe";
70
0 commit comments