xuhdev / vim-latex-live-preview

A Vim Plugin for Lively Previewing LaTeX PDF Output
https://www.topbug.net/blog/2013/06/13/live-preview-of-latex-in-vim/
GNU General Public License v3.0
834 stars 74 forks source link

Feature Request: log compilation warnings and errors #34

Open BenjaminPollak opened 7 years ago

BenjaminPollak commented 7 years ago

Hi all,

I think it may be worthwhile to log errors somewhere. Maybe the file could go in ~/.LLPLOGS/.warning.log. That way, the user could easily split screen to see warnings. Would anybody have interest in tackling this with me?

Benjamin

badouralix commented 7 years ago

Hi @BenjaminPollak

Thanks for the feedback! Actually, this is a really good idea! vimtex has implemented such a feature, it could be interesting to dig into their implementation to get an idea on how to design the feature. I'm also thinking about vim-plug which outputs some logs, and I doubt they write a separate file to do so.

How about having some external commands like :LLPShowLog to open a new buffer with the last logs, etc.?

BenjaminPollak commented 7 years ago

@badouralix, thank you for your suggestions! I'll look into the suggestions that you made and see what I can do! I like the idea of putting the log stuff in another buffer.

EDIT: And thank you for tagging this appropriately!

ranguli commented 7 years ago

Hi @BenjaminPollak, let me know what you need and I'll see if I can assist!

BenjaminPollak commented 7 years ago

Thanks, @ranguli! I'm realizing that I really don't have the skills to build this yet as I've never written in VimScript. I'm slowly working through Learn VimScript the Hard Way.

Is that a good start? Is there a better source for learning VimScript?

ranguli commented 7 years ago

@BenjaminPollak That's what I'm currently working through as well! It seems like a good choice :+1: