Skip to content

Commit d0399ce

Browse files
Handle plain text
1 parent c844456 commit d0399ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/cursorless-org-docs/src/docs/user/languages/components/ScopeSupport.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ interface Props {
1010
languageId: string;
1111
}
1212

13-
export function ScopeSupport({ languageId }: Props): React.JSX.Element {
13+
export function ScopeSupport({ languageId }: Props) {
14+
if (languageId === "plaintext") {
15+
return <div>Coming soon!</div>;
16+
}
1417
const facetsSorted = [...scopeSupportFacets].sort();
1518
const scopeSupport = languageScopeSupport[languageId] ?? {};
1619

0 commit comments

Comments
 (0)