Commits

Meikel Brandmeyer committed 0247e6b

Fix check for EOF in incomplete expression

Comments (0)

Files changed (1)

server/src/main/clojure/vimclojure/nails.clj

               (recur (read *in* false eof)))))
         (catch clojure.lang.LispReader$ReaderException exc
           (let [e (.getCause exc)]
-            (if (= "EOF while reading" (.getMessage e))
+            (if (.startsWith (.getMessage e) "EOF while reading")
               false
               (throw exc))))))))