Closed aerithnetzer closed 10 months ago
I'm sorry, but I can't replicate the issue. Anyway, it should not be necessary to set omnifunc
at your vimrc because zotcite does this at zotcite#Init()
. I don't know why import yaml
fails even though 'PyYAML` is installed...
Notes:
omnifunc
. I fixed it today.pyyaml
is installed both system-wide and in the specific virtual environment where pynvim
is running.No longer getting error, thanks!
So there was nothing in the docs indicating that pynvim is required. Also, I must use a virtual environment to install Python modules. Where should the virtual environment be created and how to let Zotcite know which venv to use?
There is also nothing in the docs about having to manually load the plugin in .vimrc. Also, no discussion of which plugin to place in the right folder. Should it be ../autoload/zotcite.vim or ../plugin/zotcite.vim
I am just looking for some direction because I am getting these same errors.
I updated the documentation, replaced neovim
with pynvim
, and suggested the reading of Neovim documentation on provider-python
.
It will be easier if you use a plugin manager to install your plugins. I'm using lazy.nvim with the option lazy=false
, but there are many other options.
Action: Create
test.md
, enter@T
to a markdown file with vim, put cursor over@T
and inputC-x, C-o
.Expected Behavior: Show citations matching characters next to the
@
Actual Behavior: Upon creating
test.md
from CLI withvim test.md
, the following is shownFurther, when I create a citation with
@T
, cursor over and inputC-x, C-o
vim outputs-- Omni completion (^O^N^P) Pattern not found
I am at a loss for what is happening, I tried with a minimal config after seeing This issue, and issues kept appearing. Any thoughts on what is causing this issue? Thanks in advance for your help. See below for my configs and pip lists.
Pyyaml and neovim are installed, results of
pip list
:After entering to clear out error messages:
Input
:Zinfo
OutputThere is another omnifunc enabled: htmlcomplete#CompleteTags
omnifunc
is set tozotecite#CompletetBib
Vimrc file: