Use Constants

This commit is contained in:
Josh Johnson 2018-05-03 22:48:44 -04:00
parent b9d6659a26
commit dda624c387
1 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
import { DocumentFilter } from "vscode";
import * as constants from "../constants";
export function createDocumentSelector(language: string): DocumentFilter[] {
return [
{ language, scheme: "file" },
{ language, scheme: "untitled" },
{ language, scheme: constants.uriSchemes.file },
{ language, scheme: constants.uriSchemes.untitled },
];
}