Skip to content

Commit

Permalink
Merge pull request #68 from alefragnani/internal/add-more-tests-new-p…
Browse files Browse the repository at this point in the history
…aste-setting

Internal/add more tests new paste setting
  • Loading branch information
alefragnani committed Sep 28, 2023
2 parents a91b8a7 + 3dbf73d commit e3ba815
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 240 deletions.
4 changes: 2 additions & 2 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function registerCommands() {
}
});

commands.registerCommand("copy-word.paste", () => {
commands.registerCommand("copy-word.paste", async () => {

if (!canExecuteOperation(Operations.Paste)) { return; }

Expand All @@ -78,7 +78,7 @@ export function registerCommands() {
default:
}
}
commands.executeCommand("editor.action.clipboardPasteAction");
await commands.executeCommand("editor.action.clipboardPasteAction");
});

const configuredToCopyLine = () => workspace.getConfiguration('copyWord').get('useOriginalCopyBehavior');
Expand Down
Loading

0 comments on commit e3ba815

Please sign in to comment.