fix inlay hint list separator (#1438)

fix #1430 

It lead wrong format.
This commit is contained in:
Coelacanthus
2023-02-06 14:00:48 +08:00
committed by GitHub
parent 25337623cf
commit 65628c3b0a

View File

@@ -22,7 +22,7 @@ function! s:set_inlay_hints(data) abort
endif
let l:label = ''
if type(l:hint.label) ==# v:t_list
let l:label = join(map(copy(l:hint.label), {_,v -> v.value}), ', ')
let l:label = join(map(copy(l:hint.label), {_,v -> v.value}), '')
else
let l:label = l:hint.label
endif