File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
common/src/scopeSupportFacets
cursorless-vscode-e2e/src/suite/fixtures/scopes/shellscript Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { pythonScopeSupport } from "./python";
66import { LanguageScopeSupportFacetMap } from "./scopeSupportFacets.types" ;
77import { talonScopeSupport } from "./talon" ;
88import { typescriptScopeSupport } from "./typescript" ;
9+ import { shellscriptScopeSupport } from "./shellscript" ;
910
1011export function getLanguageScopeSupport (
1112 languageId : string ,
@@ -25,6 +26,8 @@ export function getLanguageScopeSupport(
2526 return talonScopeSupport ;
2627 case "typescript" :
2728 return typescriptScopeSupport ;
29+ case "shellscript" :
30+ return shellscriptScopeSupport ;
2831 }
2932 throw Error ( `Unsupported language: '${ languageId } '` ) ;
3033}
Original file line number Diff line number Diff line change 1+ /* eslint-disable @typescript-eslint/naming-convention */
2+
3+ import {
4+ LanguageScopeSupportFacetMap ,
5+ ScopeSupportFacetLevel ,
6+ } from "./scopeSupportFacets.types" ;
7+
8+ const { supported } = ScopeSupportFacetLevel ;
9+
10+ export const shellscriptScopeSupport : LanguageScopeSupportFacetMap = {
11+ command : supported ,
12+ } ;
Original file line number Diff line number Diff line change 1+ local name="Hello world"
2+ ---
You can’t perform that action at this time.
0 commit comments