Skip to content

Commit 2c26aef

Browse files
author
Calvinn Ng
committed
fix merge conflicts
1 parent c456798 commit 2c26aef

File tree

2 files changed

+0
-41
lines changed

2 files changed

+0
-41
lines changed

extensions/vscode/src/decorations.ts

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,7 @@ class DecorationManager {
112112
}
113113

114114
deleteDecoration(key: DecorationKey) {
115-
<<<<<<< HEAD
116-
let decorationTypes = this.editorToDecorations.get(key.editorUri);
117-
=======
118115
const decorationTypes = this.editorToDecorations.get(key.editorUri);
119-
>>>>>>> v0.9.184-vscode
120116
if (!decorationTypes) {
121117
return;
122118
}
@@ -132,20 +128,12 @@ class DecorationManager {
132128
}
133129

134130
deleteAllDecorations(editorUri: string) {
135-
<<<<<<< HEAD
136-
let decorationTypes = this.editorToDecorations.get(editorUri)?.keys();
137-
=======
138131
const decorationTypes = this.editorToDecorations.get(editorUri)?.keys();
139-
>>>>>>> v0.9.184-vscode
140132
if (!decorationTypes) {
141133
return;
142134
}
143135
this.editorToDecorations.delete(editorUri);
144-
<<<<<<< HEAD
145-
for (let decorationType of decorationTypes) {
146-
=======
147136
for (const decorationType of decorationTypes) {
148-
>>>>>>> v0.9.184-vscode
149137
this.rerenderDecorations(editorUri, decorationType);
150138
}
151139
}
@@ -168,27 +156,6 @@ function constructBaseKey(
168156
};
169157
}
170158

171-
<<<<<<< HEAD
172-
const gutterSpinnerDecorationType =
173-
vscode.window.createTextEditorDecorationType({
174-
gutterIconPath: vscode.Uri.file(
175-
path.join(__dirname, "..", "media", "spinner.gif"),
176-
),
177-
gutterIconSize: "contain",
178-
});
179-
180-
export function showGutterSpinner(
181-
editor: vscode.TextEditor,
182-
lineno: number,
183-
): DecorationKey {
184-
const key = constructBaseKey(editor, lineno, gutterSpinnerDecorationType);
185-
decorationManager.addDecoration(key);
186-
187-
return key;
188-
}
189-
190-
=======
191-
>>>>>>> v0.9.184-vscode
192159
export function showLintMessage(
193160
editor: vscode.TextEditor,
194161
lineno: number,
@@ -213,11 +180,7 @@ export function showLintMessage(
213180
export function highlightCode(
214181
editor: vscode.TextEditor,
215182
range: vscode.Range,
216-
<<<<<<< HEAD
217-
removeOnClick: boolean = true,
218-
=======
219183
removeOnClick = true,
220-
>>>>>>> v0.9.184-vscode
221184
): DecorationKey {
222185
const decorationType = vscode.window.createTextEditorDecorationType({
223186
backgroundColor: "rgb(255, 255, 0, 0.1)",

extensions/vscode/src/util/expandSnippet.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,4 @@ export async function expandSnippet(
109109
}),
110110
);
111111
return chunks;
112-
<<<<<<< HEAD
113112
}
114-
=======
115-
}
116-
>>>>>>> v0.9.184-vscode

0 commit comments

Comments
 (0)