tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

EROOR: Vim fireplace with clojurescript and cider any ideas on why? #272

Closed andreimc closed 5 years ago

andreimc commented 8 years ago

When I open a file inside my clojurescript project.

I get the following:

Error detected while processing function <SNR>113_Require[13]..fireplace#session_eval[1]..<SNR>113_eval[6]..372[5]..374[7]..<SNR>113_conn_try[2]..<SNR>168_nrepl_eval[45]..<SNR>168_extract_last_stacktrace:
line   17:
E605: Exception not caught: {'status': ['eval-error', 'done'], 'ex': 'class clojure.lang.ExceptionInfo', 'root-ex': 'class clojure.lang.ExceptionInfo', 'id': 'fireplace-Andreis-MacBook-Pro.local-1465358760-15', 'session': ['0d2e71ba-9e9d-
4d4c-a44e-79a33573919b'], 'err': 'org.mozilla.javascript.EcmaError: TypeError: Cannot call method "getStackTrace" of undefined (rhino.clj#41)^@'}
Error detected while processing function nerdtree#ui_glue#invokeKeyMap[1]..75[18]..74[3]..<SNR>62_activateFileNode[1]..103[1]..120[3]..174:
line    4:
E171: Missing :endif
Error detected while processing function nerdtree#ui_glue#invokeKeyMap[1]..75[18]..74:
line    3:
E171: Missing :endif
Error detected while processing function nerdtree#ui_glue#invokeKeyMap[1]..75:
line   18:
E171: Missing :endif
Press ENTER or type command to continue
nenadalm commented 7 years ago

@andreimc I was also getting some exception with missing :endif. Exception seems to dissapear after applying https://gist.github.com/malyn/646e291d01101dcc8b48

tpope commented 5 years ago

Based on https://github.com/tpope/vim-fireplace/pull/326, I believe this is now possible without changes to Fireplace.