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";
6
6
import { LanguageScopeSupportFacetMap } from "./scopeSupportFacets.types" ;
7
7
import { talonScopeSupport } from "./talon" ;
8
8
import { typescriptScopeSupport } from "./typescript" ;
9
+ import { shellscriptScopeSupport } from "./shellscript" ;
9
10
10
11
export function getLanguageScopeSupport (
11
12
languageId : string ,
@@ -25,6 +26,8 @@ export function getLanguageScopeSupport(
25
26
return talonScopeSupport ;
26
27
case "typescript" :
27
28
return typescriptScopeSupport ;
29
+ case "shellscript" :
30
+ return shellscriptScopeSupport ;
28
31
}
29
32
throw Error ( `Unsupported language: '${ languageId } '` ) ;
30
33
}
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