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
commit35d6170aaf08c49af5205bb37e0f2ea7de03b312 (patch)
treed630c99d282ffd528bbe3ba553a286495ad8ed20 /extension
parentd1b32ce63fc834c9aff6ad7b27ce1fd074f90c5c (diff)
downloadsncontinue-35d6170aaf08c49af5205bb37e0f2ea7de03b312.tar.gz
sncontinue-35d6170aaf08c49af5205bb37e0f2ea7de03b312.tar.bz2
sncontinue-35d6170aaf08c49af5205bb37e0f2ea7de03b312.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) {