File tree Expand file tree Collapse file tree
packages/common/src/scopeSupportFacets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import { luaScopeSupport } from "./lua";
1818import { markdownScopeSupport } from "./markdown" ;
1919import { phpScopeSupport } from "./php" ;
2020import { pythonScopeSupport } from "./python" ;
21+ import { rScopeSupport } from "./r" ;
2122import { rubyScopeSupport } from "./ruby" ;
2223import { rustScopeSupport } from "./rust" ;
2324import { scalaScopeSupport } from "./scala" ;
@@ -51,6 +52,7 @@ export const languageScopeSupport: StringRecord<LanguageScopeSupportFacetMap> =
5152 markdown : markdownScopeSupport ,
5253 php : phpScopeSupport ,
5354 python : pythonScopeSupport ,
55+ r : rScopeSupport ,
5456 ruby : rubyScopeSupport ,
5557 rust : rustScopeSupport ,
5658 scala : scalaScopeSupport ,
Original file line number Diff line number Diff line change 1+ import type { LanguageScopeSupportFacetMap } from "./scopeSupportFacets.types" ;
2+ import { ScopeSupportFacetLevel } from "./scopeSupportFacets.types" ;
3+
4+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5+ const { supported, unsupported, notApplicable } = ScopeSupportFacetLevel ;
6+
7+ export const rScopeSupport : LanguageScopeSupportFacetMap = {
8+ } ;
Original file line number Diff line number Diff line change 1+ ; ; https://github.com/r-lib/tree-sitter-r/blob/main/src/grammar.json
You can’t perform that action at this time.
0 commit comments