Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim Plug E121: Undefined variable: do #40

Closed
jjanella opened this issue Jun 16, 2024 · 1 comment · Fixed by #57
Closed

Vim Plug E121: Undefined variable: do #40

jjanella opened this issue Jun 16, 2024 · 1 comment · Fixed by #57

Comments

@jjanella
Copy link

jjanella commented Jun 16, 2024

Adding Plug 'chomosuke/typst-preview.nvim', {'tag': 'v0.3.*', do: ':TypstPreviewUpdate'} to my config causes:

E121: Undefined variable: do
E116: Invalid arguments for function plug#

My solution was to do Plug 'chomosuke/typst-preview.nvim', {'tag': 'v0.3.*'} instead and manually call ':TypstPreview

@chomosuke
Copy link
Owner

Hi, I see. It's really difficult for me to test this as I don't use Vim Plug myself but I'll trust you on this one.

I've modify the installation instruction in README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants