Skip to content

Commit f21c711

Browse files
committed
feat: support source.flow
1 parent fe1e7b9 commit f21c711

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/typescript.js

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ export function setupTypeScript() {
1313
)
1414
)
1515
atom.config.set("atom-typescript.ignoredDiagnosticCodes", ignoredDiagnosticCodes)
16+
17+
const jsSyntaxScopes = Array.from(new Set(atom.config.get("atom-typescript.jsSyntaxScopes").concat(["source.flow"])))
18+
atom.config.set("atom-typescript.jsSyntaxScopes", jsSyntaxScopes)
1619
}
1720

1821
/*

0 commit comments

Comments
 (0)