Open ghost opened 2 years ago
same here
Check if the plugin is loaded, it wasn't loaded it automatically. The command is different depending on your plugin manager, for me it was
:Lazy load vim-latex-live-preview
I'm having the same issue.
I tried :Lazy load vim-latex-live-preview
and it didn't work.\
I also tried to change the plugin installation line to { "xuhdev/vim-latex-live-preview", lazy = false }
and it didn't work either. :/
do you have a repo of your nvim files? like something i can use to essentially emulate your setup
Of course! Thank you for your help!\ Here are my dotfiles
I think I commented out LLP for the moment in init.lua
so you might need to uncomment that, I didn't change anything neovim-related beside this commenting that line out since trying this yesterday. Thank you!
Update: I added some unrelated stuff to my nvim config to my dotfiles. I checked again before pushing, the command in question is still not coming up
my fucking eyes.
On another note tho, I tried and I couldn't get it working. Not even my old nvim LLP works on this machine. I think it's got to do with python but checkhealth provider says I have python installed with pynvim.
When the plugin loads it says "python required" do you get the same thing? (it only happens if you manually load it)
my fucking eyes.
If you think there's something I can improve, please just tell me.
I don't see "python required". In fact, I can't see LLP
anything in the autocompletion when I type :LL
and then tap tab.
If there's no error message popping up, the only reason I can think of is whether you have used your package manager properly. See the command: https://github.com/xuhdev/vim-latex-live-preview/blob/master/plugin/latexlivepreview.vim#LL316C37-L316C37 Only way to stop the command from being defined is lack of python, which should produce an error message.
Unfortunately I'm not familiar with the status of plugin managers. It might be a good idea to consult the plugin manager developers that you are using.
I see, thank you for your reply. I'll try to file an issue or ask a question with the Lazy.nvim
devs.
If you think there's something I can improve, please just tell me. To each their own, i was sitting in a dark room and got flashbanged by neovim loading youe theme.
I don't see "python required". In fact, I can't see
LLP
anything in the autocompletion when I type:LL
and then tap tab.
Have you tried manually loading the plugin? Try turning lazy on lazy = true
then load it and see if you get the error.
Also I dont get any LLP suggestions either.
Check if your python provider is availabe too just in case :checkhealth provider
Anyone have any luck setting this up? I've got a python provider in my checkhealth, and running :echo g:loaded_vim_live_preview
returns 1. :echo has('python')
is returning 0 but `:echo has('python3') returns 1.
I'm using NvChad with Neovim, loading the plugin into the lua/plugins/init.lua
file.
Expected behavior
The usage section of the README.md says that entering in
:LLPStartPreview
should present the LaTeX document as a PDF. I am not getting this, since the command does not appear. Are there some prerequisites I am missing?Actual behavior
Tell us what happens instead
Steps to reproduce
Tell us how it occurs
1. 1. 1.
System configuration