summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-08-28 10:18:37 +0100
committerw0rp <devw0rp@gmail.com>2018-08-28 10:18:37 +0100
commit339930ad68a16e8298b8b84ef0ab428bf7061c5f (patch)
treedf9be5fd550e8573fffbf4f3dd4d000f0f16da3a
parentb6112aedc30fde8ffc3afb691eeb6db4a89a3f47 (diff)
downloadale-339930ad68a16e8298b8b84ef0ab428bf7061c5f.zip
Fix #1859 - Make the connection ID available on the connection object
-rw-r--r--autoload/ale/lsp.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/lsp.vim b/autoload/ale/lsp.vim
index 7f99422a..dae45e70 100644
--- a/autoload/ale/lsp.vim
+++ b/autoload/ale/lsp.vim
@@ -24,6 +24,7 @@ function! ale#lsp#Register(executable_or_address, project, init_options) abort
" capabilities_queue: The list of callbacks to call with capabilities.
" capabilities: Features the server supports.
let s:connections[l:conn_id] = {
+ \ 'id': l:conn_id,
\ 'is_tsserver': 0,
\ 'data': '',
\ 'root': a:project,