Implement LSP symbol search

This commit is contained in:
w0rp
2018-10-31 16:13:22 +00:00
parent 20e4e3f9db
commit 4ef2c81e95
10 changed files with 349 additions and 2 deletions

View File

@@ -46,11 +46,14 @@ function! ale#preview#ShowSelection(item_list) abort
" Create lines to display to users.
for l:item in a:item_list
let l:match = get(l:item, 'match', '')
call add(
\ l:lines,
\ l:item.filename
\ . ':' . l:item.line
\ . ':' . l:item.column,
\ . ':' . l:item.column
\ . (!empty(l:match) ? ' ' . l:match : ''),
\)
endfor