prabirshrestha / vim-lsp

async language server protocol plugin for vim and neovim
MIT License
3.1k stars 304 forks source link

Print both symbol name and detail in loc_list #1504

Open kmARC opened 10 months ago

kmARC commented 10 months ago

This patch fixes the displayed loc_list items when g:lsp_document_symbol_detail is set to v:true. Before, only the 'detail' field was used, and the symbol name was not printed, whereas the children of the hierarchy didn't have the symbol details printed at all