summaryrefslogtreecommitdiff
path: root/extension
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-27 23:20:15 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-27 23:20:15 -0700
commit18dbf82507f6b1c91581ea7e017e1e40ff479d1f (patch)
tree3ae3966ff96582b1807da2b06db15fa66d400355 /extension
parenta5a35a1edec3ee769e5e1b93fe1b9b1673059a9b (diff)
downloadsncontinue-18dbf82507f6b1c91581ea7e017e1e40ff479d1f.tar.gz
sncontinue-18dbf82507f6b1c91581ea7e017e1e40ff479d1f.tar.bz2
sncontinue-18dbf82507f6b1c91581ea7e017e1e40ff479d1f.zip
backtrack lines at end after ending block
Diffstat (limited to 'extension')
-rw-r--r--extension/src/suggestions.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/extension/src/suggestions.ts b/extension/src/suggestions.ts
index 6e5f52ac..c9e29ed5 100644
--- a/extension/src/suggestions.ts
+++ b/extension/src/suggestions.ts
@@ -37,18 +37,18 @@ const oldDecorationType = vscode.window.createTextEditorDecorationType({
const newSelDecorationType = vscode.window.createTextEditorDecorationType({
backgroundColor: "rgb(0, 255, 0, 0.25)",
isWholeLine: true,
- after: {
- contentText: "Press ctrl+shift+enter to accept",
- margin: "0 0 0 1em",
- },
+ // after: {
+ // contentText: "Press ctrl+shift+enter to accept",
+ // margin: "0 0 0 1em",
+ // },
});
const oldSelDecorationType = vscode.window.createTextEditorDecorationType({
backgroundColor: "rgb(255, 0, 0, 0.25)",
isWholeLine: true,
- after: {
- contentText: "Press ctrl+shift+enter to reject",
- margin: "0 0 0 1em",
- },
+ // after: {
+ // contentText: "Press ctrl+shift+enter to reject",
+ // margin: "0 0 0 1em",
+ // },
});
export function rerenderDecorations(editorUri: string) {