Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Auto-run diagnostics / sort diagnostics #144

Closed
redcartel opened this issue May 16, 2018 · 3 comments
Closed

Auto-run diagnostics / sort diagnostics #144

redcartel opened this issue May 16, 2018 · 3 comments

Comments

@redcartel
Copy link

Is it possible to automatically run diagnostics on open & write?

Is it possible to sort the output by error severity or which checker generated the alert?

Looking to get behavior similar to syntastic.

@prabirshrestha
Copy link
Owner

Can you share how syntastic does it? Is it by flags to commands? Shortcut keys?

@yunusemrecan
Copy link

I don't know vimscript but I find that from ale(another linting plugin).
if g:ale_lint_on_enter autocmd BufWinEnter * call ale#events#LintOnEnter(str2nr(expand('<abuf>'))) " Track when the file is changed outside of Vim. autocmd FileChangedShellPost * call ale#events#FileChangedEvent(str2nr(expand('<abuf>'))) endif

@prabirshrestha
Copy link
Owner

closing to clean up stale issues.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants