We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d40d0d commit 56124b0Copy full SHA for 56124b0
autoload/lsp/ui/vim.vim
@@ -443,10 +443,9 @@ function! s:hierarchy_item_to_vim(item, server) abort
443
444
let l:path = lsp#utils#uri_to_path(l:uri)
445
let [l:line, l:col] = lsp#utils#position#lsp_to_vim(l:path, a:item['range']['start'])
446
+ let l:text = '[' . lsp#ui#vim#utils#_get_symbol_text_from_kind(a:server, a:item['kind']) . '] ' . a:item['name']
447
if has_key(a:item, 'detail')
- let l:text = a:item['detail']
448
- else
449
- let l:text = '[' . lsp#ui#vim#utils#_get_symbol_text_from_kind(a:server, a:item['kind']) . '] ' . a:item['name']
+ let l:text .= ": " . a:item['detail']
450
endif
451
452
return {
0 commit comments