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

latex#latexmk#errors() doesn't work if g:latex_latexmk_quickfix is set to 0 #13

Closed
nasenatmer opened this issue May 10, 2014 · 7 comments

Comments

@nasenatmer
Copy link
Contributor

Heyho,

it seems that since a few commits ago, I can't qet the quickfix window to open by using <localleader>le (in my case \le).

Strangely, it sometimes seems to not work as long as I have g:latex_latexmk_quickfix = 0 in my config, and then changing its value to 1 or 2 does the trick. But not always, it seems.

Pressing \le (with quickfix set to 0) doesn't do anything while vim-latex throws this error if I do :execute latex#latexmk#errors():
quickfix

I also tried with a mini vimrc, but I get the same error.

As far as I understand the documentation this should not be the case but is rather a bug, isn't it?

@lervag
Copy link
Owner

lervag commented May 10, 2014

Yes, indeed, there is at least one minor bug: I never checked if the log file existed. I was not able to find any other bugs, so perhaps this was the only one?

@nasenatmer
Copy link
Contributor Author

Thanks for your fast reaction! And indeed, I don't get the error E40 anymore. But the overall problem still persists:

If I set g:latex_latexmk_quickfix = 0, I can't open the quickfix window anymore by pressing \le.

@lervag lervag closed this as completed in a00c99b May 11, 2014
@lervag
Copy link
Owner

lervag commented May 11, 2014

I think your issue is solved now, let me know if I missed anything. Thanks!

@nasenatmer
Copy link
Contributor Author

First tries seem to work nicely, I'll work with vim-latex more later today and will see then! Thanks so much!

@lervag
Copy link
Owner

lervag commented May 12, 2014

Great, and no problem :)

@nasenatmer
Copy link
Contributor Author

Alright, used it yesterday for a bit and today again and works nicely now! Additionally, if there's no log file yet (because I did \lc earlier) I also get a nice message saying „no log file found!”. Neat!

@lervag
Copy link
Owner

lervag commented May 13, 2014

Yes, I reasoned that it made sense to add the info. However, I think it only makes sense to echo to screen when using the mapping, so I justed pushed a minor update that prevents the info from showing for the callbacks.

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