Skip to content

Commit 0bd616b

Browse files
committed
No longer throws for forms.
1 parent 5ab618a commit 0bd616b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/src/project/document.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ export abstract class BaseProjectDocument {
6161
return new VbaClassDocument(workspace, filename, document, SymbolKind.Class);
6262
case 'bas':
6363
return new VbaModuleDocument(workspace, filename, document, SymbolKind.Class);
64+
case 'frm':
65+
return new VbaModuleDocument(workspace, filename, document, SymbolKind.Class);
6466
default:
65-
throw new Error("Expected *.cls or *.bas but got *." + extension);
67+
throw new Error("Expected *.cls, *.bas, or *.frm but got *." + extension);
6668
}
6769
}
6870

0 commit comments

Comments
 (0)