3 ms·
Why wouldn't you set the makeprg and have it populate the quickfix list instead?
by yw3410 5y ago
Why wouldn't you set the makeprg and have it populate the quickfix list instead?
- sophacles 5y agoBecause lazygit doesn't really work that way? Because running tests doesn't necessarily play nice with quickfix? I do set the make program to build and get errors via the quickfix when there isn't a good lsp server for the language. When there is an lsp server for the language, why bother with a special make command? - the same info is just populated inline for you.
- yw3410 5y agoWhat do you mean by "play nice"? I tend to use quickfix lists because I can edit/filter/persist them; so for example I'll have some tests/warnings but won't care about them for the moment but then rerun the command and get the diff and navigate to that. It's fairly complicated to script the same using the LSP api.
- canaus 5y agoIt might not be what they want to do.