dgrnbrg / vim-redl

A better Vim integration story for Clojure
106 stars 8 forks source link

BigDec notation breaks redl #16

Closed yayitswei closed 11 years ago

yayitswei commented 11 years ago

redl throws an exception on inputs like 10M:

Error detected while processing function redl#repl#enter_hook..redl#repl#eval..fireplace#evalparse:
line    8:
E722: Missing comma in Dictionary: M, "*2": 10M, "*1": 10M, "result": 10M, "ns": "cr.server"}
Error detected while processing function redl#repl#enter_hook:
line   33:
E715: Dictionary required
Press ENTER or type command to continue

that are valid in my version of Clojure, 1.5.1

user=> (print-str 10M)
"10M"
dgrnbrg commented 11 years ago

This is fixed if you check out the HEAD of redl and vim-redl!