Skip to content

Commit

Permalink
Fix byte-compile warning
Browse files Browse the repository at this point in the history
`lsp--ivy-format-symbol-match' destructured :deprecated?, an unused
local. Remove it, fixing the warning.
  • Loading branch information
nbfalcon committed Nov 11, 2020
1 parent 75ae6c8 commit b44d056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp-ivy.el
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
(forward-char character))

(lsp-defun lsp-ivy--format-symbol-match
((&SymbolInformation :name :kind :container-name? :deprecated? :location (&Location :uri))
((&SymbolInformation :name :kind :container-name? :location (&Location :uri))
project-root)
"Convert the match returned by `lsp-mode` into a candidate string."
(let* ((sanitized-kind (if (< kind (length lsp-ivy-symbol-kind-to-face)) kind 0))
Expand Down

0 comments on commit b44d056

Please sign in to comment.