Closed elzibubble closed 4 years ago
Hi! Thank you very much for the issue.
That is possibly a bug, to be honest. trim
is a function that should exist on lua but if it isn't provided, it falls back to a viml implementation. I suspect the viml counterpart might be wrongly named.
I'll check that today, but if you feel comfortable, it's just (probably) changing the viml fn being called on lua/acid/utils.lua
.
Once again,thanks for the issue. I'll look into it.
Best, Henry
Thanks for the swift response! Any idea why I wouldn't have that in lua? I guess it's to do with my NeoVim version. On updating to 0.3.5 (latest stable), I now get this:
error caught in async handler '/home/alee/.vim/bundle/acid.nvim/rplugin/python3/acid:function:AcidSendNrepl [[{'code': "(require '[curiosity.handler :reload :all])", 'id': '01DBCMPT4R4Y0E0YMRCNR64J3Y', 'op': 'eval'}]]'
Traceback (most recent call last):
File "/home/alee/.vim/bundle/acid.nvim/rplugin/python3/acid/__init__.py", line 47, in acid_eval
payload, addr = data
ValueError: not enough values to unpack (expected 2, got 1)
Aha, starting a REPL has sorted that out.
Glad to know things are sorted out!
I should block acid from sending to the nrepl if there's no connection present.
I believe this is fixed now. I'll close the issue, but feel free to reopen if it still happens. Best regards, Henry
I get this when calling AcidRequire:
I just installed Acid today, quite possible I've done something wrong. I'm using Plug.vim (also just switched from Vundle...). I still have Fireplace installed.