diff --git a/src/edit/textEdit.ts b/src/edit/textEdit.ts index 1ba2a37b262..cad9cc9446d 100644 --- a/src/edit/textEdit.ts +++ b/src/edit/textEdit.ts @@ -14,8 +14,8 @@ export enum EndOfLine { export enum EnvironmentVariableMutatorType { Replace = 1, - Append = 2, - Prepend = 3 + Append = 2, + Prepend = 3 } export class TextEdit implements ITextEdit { diff --git a/src/markdown/markdownString.ts b/src/markdown/markdownString.ts index 5899abfae88..30663402495 100644 --- a/src/markdown/markdownString.ts +++ b/src/markdown/markdownString.ts @@ -2,10 +2,13 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ +import { MarkupContent, MarkupKind } from "vscode-languageserver-protocol" import { URI } from "vscode-uri" import { BaseMarkdownString } from "./baseMarkdownString" -export class MarkdownString { +export class MarkdownString implements MarkupContent { + public kind: MarkupKind = MarkupKind.Markdown + readonly #delegate: BaseMarkdownString public static isMarkdownString(thing: any): thing is MarkdownString {