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

This commit is contained in:
w0rp committed 2018-06-15 10:01:28 +01:00
1 parent f1b72218c3
commit bda89506ba
15 files changed
+358 -259

No files matched your search

+2 -2
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)