Skip to content

Commit 8d17e92

Browse files
committed
Fix #131
1 parent cc8b1d3 commit 8d17e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/extension.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function activate(context) {
122122
function setupSelectionSync() {
123123
return vscode.window.onDidChangeTextEditorSelection(e => {
124124
if (e.selections[0] && !e.selections[0].isEmpty) {
125-
vscode.commands.executeCommand('editor.action.clipboardCopyAction')
125+
vscode.commands.executeCommand('editor.action.clipboardCopyWithSyntaxHighlightingAction')
126126
panel.postMessage({
127127
type: 'update'
128128
})

0 commit comments

Comments
 (0)