-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Expected behavior
Given a .clj
file with the following content:
{:a :b}
With point between :a
and :b
:
{:a| :b}
If I hit C-M-t, I get:
{:b :a}
Just like clojure-mode
behaves.
Actual behavior
Given the previous scenario, when I hit C-M-t, I get the message:
transpose-subr-1: Don’t have two things to transpose
Steps to reproduce the problem
Provided clojure-ts-mode
is installed (I installed via NonGNU ELPA):
emacs -Q
- M-x package-initialize RET
- C-x C-f /tmp/test.clj RET
- M-x clojure-ts-mode RET (thanks @sogaiu for noticing I missed this step)
- Write
{:a :b}
- Place cursor between
:a
and:b
- Hit C-M-t
Environment & Version information
clojure-ts-mode version
0.1.4
Emacs version
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2023-08-29
Operating system
Ubuntu 22.04.3
Metadata
Metadata
Assignees
Labels
No labels