-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some tests trying to expose #1585
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
;; https://github.com/BetterThanTomorrow/calva/issues/1585 | ||
|
||
;; Confirm that structural editing works here: | ||
|
||
(defn foo [{:keys [bar]}] 'baz) | ||
|
||
;; Here a repro that works for at least one user: | ||
;; Place the cursor to the right of the closing square bracket and press delete | ||
;; until the text is `(let [a] a)`. Then highlight the select the closing square | ||
;; bracket and press delete. Structural editing and rainbow parens is now broken. | ||
|
||
(let [a "123"] a) | ||
|
||
(let [a] a) | ||
|