Use Constants
This commit is contained in:
parent
b9d6659a26
commit
dda624c387
@ -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 },
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user