mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-25 20:24:04 +00:00
[html] Request textDocument/rangeFormatting failed when pasting inside script tags. Fixes #35698
This commit is contained in:
@@ -23,7 +23,7 @@ import * as nls from 'vscode-nls';
|
||||
nls.config(process.env['VSCODE_NLS_CONFIG']);
|
||||
|
||||
namespace TagCloseRequest {
|
||||
export const type: RequestType<TextDocumentPositionParams, string, any, any> = new RequestType('html/tag');
|
||||
export const type: RequestType<TextDocumentPositionParams, string | null, any, any> = new RequestType('html/tag');
|
||||
}
|
||||
|
||||
// Create a connection for the server
|
||||
|
||||
Reference in New Issue
Block a user