mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
[html] use languageModes for language types
This commit is contained in:
@@ -3,10 +3,9 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { DocumentContext } from 'vscode-html-languageservice';
|
||||
import { DocumentContext, WorkspaceFolder } from '../modes/languageModes';
|
||||
import { endsWith, startsWith } from '../utils/strings';
|
||||
import * as url from 'url';
|
||||
import { WorkspaceFolder } from 'vscode-languageserver';
|
||||
|
||||
export function getDocumentContext(documentUri: string, workspaceFolders: WorkspaceFolder[]): DocumentContext {
|
||||
function getRootFolder(): string | undefined {
|
||||
|
||||
Reference in New Issue
Block a user