calva icon indicating copy to clipboard operation
calva copied to clipboard

Experimental _Strict Prevent Unmatched_ inserts whitespace

Open kees- opened this issue 2 years ago • 2 comments

See comment on #1771. PR #1768 fixed a different instance of a similar bug.

With Strict Prevent Unmatched Closing Brackets enabled, pressing ) in front of a closing paren matched by the feature should skip over it. This works fine with top-level forms. single

Doing so within nested forms adds an extra space before its parent: nested (Using ) at the end of a top-level form will remove all the whitespace. Arbitrary spaces will be added if the button for non-matching syntax is pressed, i.e ] in front of a ).)

VSCodium 1.68.1 Calva 2.0.287

kees- avatar Jun 27 '22 03:06 kees-