parinfer / parinfer.js

Let's simplify the way we write Lisp
https://shaunlebron.github.io/parinfer
MIT License
1.75k stars 40 forks source link

enter-key breaks code in demo editor #149

Closed Engelberg closed 7 years ago

Engelberg commented 7 years ago
(defn foo
  "hello, this is a docstring"
  [a b]
  (let [sum (+ a b)
        prod (* a b)]
     {:sum sum
      :prod prod}))

Put cursor before the left square bracket in the let and hit enter. It changes your code entirely.

shaunlebron commented 7 years ago

This is a problem in the demo editor. My integration with Code Mirror seems to have broken last week. Will fix

shaunlebron commented 7 years ago

I started a new version of Parinfer for CodeMirror here: https://github.com/shaunlebron/parinfer-codemirror

The problem with pressing enter is fixed there, but there's more work that needs to be done before I can replace the demo editor with it.

shaunlebron commented 7 years ago

will be fixed in #155

shaunlebron commented 7 years ago

@Engelberg fixed in latest demo editor. thanks