Lazy-load LSP linters, and check b:changedtick before notifying about changes

This commit is contained in:
w0rp
2018-06-15 09:53:13 +01:00
parent f1b72218c3
commit bda89506ba
15 changed files with 358 additions and 259 deletions

View File

@@ -7,9 +7,9 @@ function! ale#lsp#reset#StopAllLSPs() abort
call ale#definition#ClearLSPData()
endif
if exists('*ale#engine#ClearLSPData')
if exists('*ale#lsp_linter#ClearLSPData')
" Clear the mapping for connections, etc.
call ale#engine#ClearLSPData()
call ale#lsp_linter#ClearLSPData()
" Remove the problems for all of the LSP linters in every buffer.
for l:buffer_string in keys(g:ale_buffer_info)