mattn / efm-langserver

General purpose Language Server
MIT License
1.32k stars 59 forks source link

Option to run some linters only on `textDocument/didSave`? #239

Closed fsouza closed 12 months ago

fsouza commented 1 year ago

edit: sorry I pressed return prematurely

Hi there, Would you accept a patch adding an option to run some linters on didSave only? The use case is that with some projects, linting on every change doesn't really make sense, so it'd be interesting to be able to configure some linters to run on save only.

Additionally, I think this should be the default behavior when LintWorkspace is set to true. Any thoughts?

Thank you!