Close #830 - Implement LSP connections via TCP sockets

This commit is contained in:
w0rp
2018-07-03 01:41:46 +01:00
parent 5aba55bb86
commit e46474ac0a
3 changed files with 23 additions and 8 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ function! ale#lsp_linter#StartLSP(buffer, linter, callback) abort
let l:language_id = ale#util#GetFunction(a:linter.language_callback)(a:buffer)
if !l:conn_id
if empty(l:conn_id)
if g:ale_history_enabled && !empty(l:command)
call ale#history#Add(a:buffer, 'failed', l:conn_id, l:command)
endif