File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 134
134
(forward-char character))
135
135
136
136
(lsp-defun lsp-ivy--format-symbol-match
137
- ((& SymbolInformation :name : kind :container-name? :location (&Location :uri ))
137
+ ((sym &as & SymbolInformation :kind :location (&Location :uri ))
138
138
project-root)
139
139
" Convert the match returned by `lsp-mode` into a candidate string."
140
140
(let* ((sanitized-kind (if (< kind (length lsp-ivy-symbol-kind-to-face)) kind 0 ))
145
145
(pathstr (if lsp-ivy-show-symbol-filename
146
146
(propertize (format " · %s " (file-relative-name (lsp--uri-to-path uri) project-root))
147
147
'face font-lock-comment-face ) " " )))
148
- (concat typestr (if (or (null container-name?) (string-empty-p container-name?) )
149
- (format " %s " name)
150
- (format " %s .%s " container-name? name)) pathstr)))
148
+ (concat typestr (lsp-render-symbol-information sym " ." ) pathstr)))
151
149
152
150
(lsp-defun lsp-ivy--transform-candidate ((symbol-information &as &SymbolInformation :kind )
153
151
filter-regexps? workspace-root)
You can’t perform that action at this time.
0 commit comments