jalvesaq / zotcite

Neovim plugin for integration with Zotero
GNU General Public License v3.0
159 stars 13 forks source link

Error loading zotcite #56

Closed iboldizsar closed 1 year ago

iboldizsar commented 1 year ago

I'm using zotcite via vim-plug on neovim v0.4.4/Debian 11. When installing the plugin, a bunch of error messages appear. Can someone help me trying to figure them out?

Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 229: E475: Invalid argument: strg, zotero_uri = 0) Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 230: E121: Undefined variable: a:strg Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 230: E15: Invalid expression: a:strg Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 232: E121: Undefined variable: a:zotero_uri Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 232: E15: Invalid expression: a:zotero_uri && a:strg =~? ' Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 234: E133: :return not inside a function Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 237: E121: Undefined variable: a:strg Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 237: E15: Invalid expression: a:strg =~ ':attachments:' Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au line 251: E121: Undefined variable: fpath Error detected while processing /home/ionut/.local/sh toload/zotcite.vim:tcite/au

jalvesaq commented 1 year ago

Zotcite is currently being developed with Neovim 0.9. So, perhaps it uses features not available on Neovim 0.4.4.

iboldizsar commented 1 year ago

@jalvesaq : thank you. That was it. Sorry, I didn't even realised I was using such an old version.

jalvesaq commented 1 year ago

Thanks for the feedback!