Skip to content

Commit

Permalink
remove unused code, #38414
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 16, 2017
1 parent 2c5a054 commit ac67cc5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/vs/editor/common/modes/languageSelector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ export interface LanguageFilter {

export type LanguageSelector = string | LanguageFilter | (string | LanguageFilter)[];

export default function matches(selection: LanguageSelector, uri: URI, language: string): boolean {
return score(selection, uri, language) > 0;
}

export function score(selector: LanguageSelector, candidateUri: URI, candidateLanguage: string): number {

if (Array.isArray(selector)) {
Expand Down

0 comments on commit ac67cc5

Please sign in to comment.