Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird effect on enter #22

Open
thheller opened this issue Feb 9, 2018 · 4 comments
Open

Weird effect on enter #22

thheller opened this issue Feb 9, 2018 · 4 comments

Comments

@thheller
Copy link

thheller commented Feb 9, 2018

VSCode parinfer 0.6.1

;; shadow-cljs configuration
{:source-paths
 ["src"]

 :dependencies
 []

 :builds
 {:app {:target :browser<|>}}}

I have the cursor at the <|> marker and press enter. The new line is added but immediately removed and the cursor ends up at the start of the line.

;; shadow-cljs configuration
{:source-paths
 ["src"]

 :dependencies
 []

 :builds
 <|>{:app {:target :browser}}}

I don't use VSCode or parinfer much and just wanted to try something quickly. I don't know what happens.

@shaunlebron
Copy link
Collaborator

thanks for the report! I'm not maintaining this plugin right now. I only adopted it so I could merge PRs when they come in, but I hope to fix these problems later this year.

@shaunlebron
Copy link
Collaborator

shaunlebron commented Feb 9, 2018

@thheller if you're doing this to just try out parinfer, I've been maintaining atom-parinfer to prove out the new stuff, which is much more stable.

@thheller
Copy link
Author

thheller commented Feb 9, 2018

Nah just testing a few things in VSCode, mostly for non-clojure stuff actually so I just stumbled upon this by accident.

@oakmac
Copy link
Owner

oakmac commented Aug 12, 2018

FYI - PR #26 fixes this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants