-
Notifications
You must be signed in to change notification settings - Fork 51
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
How to set preview in nvim #40
Comments
I am using coc as the LSP client in nvim |
Building on save is turned off by default. {
"latex.build.onSave": true
} and save the file. Now, TexLab should build your documents using |
I add the following line to my |
The problem is that forward search can be only implemented with a custom LSP request that the client has to implement. For Vim, there is the coc-texlab extension that will hopefully implement it soon, see issue #2 on their repo. |
No forward search yet but my current setup for preview with coc-texlab (
call coc#config('latex', {
\ 'lint.onChange': v:true,
\ 'forwardSearch.executable': 'zathura',
\ 'forwardSearch.args': ['--synctex-forward', '%l:1:%f', '%p'],
\ 'build.args': ['-pdf', '-interaction=nonstopmode', '-synctex=1', '-pvc']
\ }) Important flag with zathure is |
coc-texlab has added |
Thanks very much! It works with okular. |
Does it possible to set up the previewing and build on save in nvim just like vimtex?
I see the document here https://texlab.netlify.com/docs/installation/previewing. But have no idea how to configure in nvim.
The text was updated successfully, but these errors were encountered: