Skip to content

Commit 4f5f2f4

Browse files
committed
reuse existing selectCurrentForm cmd id
1 parent 7c792c1 commit 4f5f2f4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,8 +1562,8 @@
15621562
"enablement": "editorLangId == clojure"
15631563
},
15641564
{
1565-
"category": "Calva",
1566-
"command": "paredit.selectCurrentForm",
1565+
"category": "Calva Paredit",
1566+
"command": "calva.selectCurrentForm", // legacy id for backward compat
15671567
"title": "Select Current Form",
15681568
"enablement": "editorLangId == clojure"
15691569
},
@@ -2151,7 +2151,7 @@
21512151
"when": "calva:keybindingsEnabled"
21522152
},
21532153
{
2154-
"command": "calva.selectCurrentForm",
2154+
"command": "calva.selectCurrentForm", // legacy id for backward compat
21552155
"key": "ctrl+alt+c ctrl+s",
21562156
"when": "calva:keybindingsEnabled && editorLangId == clojure && editorTextFocus"
21572157
},
@@ -3078,7 +3078,7 @@
30783078
},
30793079
{
30803080
"when": "editorLangId == clojure",
3081-
"command": "calva.selectCurrentForm",
3081+
"command": "calva.selectCurrentForm", // legacy id for backward compat
30823082
"group": "calva/a-structural-editing"
30833083
},
30843084
{

src/paredit/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const pareditCommands: PareditCommand[] = [
115115

116116
// SELECTING
117117
{
118-
command: 'paredit.selectCurrentForm',
118+
command: 'calva.selectCurrentForm', // legacy command id for backward compat
119119
handler: (doc: EditableDocument) => {
120120
const isMulti = multiCursorEnabled();
121121
handlers.selectCurrentForm(doc, isMulti);

0 commit comments

Comments
 (0)