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

potential issue with s:viewer in compiler.vim #122

Closed
tianzhuqiao opened this issue Jan 31, 2018 · 2 comments
Closed

potential issue with s:viewer in compiler.vim #122

tianzhuqiao opened this issue Jan 31, 2018 · 2 comments

Comments

@tianzhuqiao
Copy link

I install vim-latex on a Mac. When I use "\lv" to open the compiled pdf file, it shows the error message:

Error detected while processing function Tex_ViewLatex:
Line 34:
E121: Undefined variable: s:viewer
E116: Invalid arguments for function strlen(s:viewer)
......

It looks like the "s:viewer" variable may not always be defined in compiler.vim?

If I add the following line at the beginning of compiler.vim, the problem goes away.

let s:viewer = ''"

Thanks

@gerw gerw closed this as completed in 732263e Jan 31, 2018
@gerw
Copy link
Contributor

gerw commented Jan 31, 2018

Does the patch resolve your issue?

@tianzhuqiao
Copy link
Author

Cool, it works now! Thanks.

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

No branches or pull requests

2 participants