diff --git a/modules/tools/lsp/autoload.el b/modules/tools/lsp/autoload.el index a473fe50a..ec2a90355 100644 --- a/modules/tools/lsp/autoload.el +++ b/modules/tools/lsp/autoload.el @@ -5,7 +5,7 @@ "Change the PRIORITY of lsp CLIENT." (require 'lsp-mode) (if-let (client (gethash client lsp-clients)) - (setf (lsp--client-priority (gethash client lsp-clients)) + (setf (lsp--client-priority client) priority) (error "No LSP client named %S" client)))