Skip to content

Commit 5b066ab

Browse files
committed
Ensure startup server after installation
1 parent 9784627 commit 5b066ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lsp-ltex.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,10 @@ When STORE is non-nil, this will also store the new plist in the directory
601601
:server-id 'ltex-ls
602602
:download-server-fn
603603
(lambda (_client _callback error-callback _update?)
604-
(lsp-package-ensure 'ltex-ls #'lsp-ltex-install-ls error-callback))))
604+
(lsp-package-ensure 'ltex-ls (lambda (&rest _)
605+
(lsp-ltex-install-ls)
606+
(funcall callback))
607+
error-callback))))
605608

606609
(provide 'lsp-ltex)
607610
;;; lsp-ltex.el ends here

0 commit comments

Comments
 (0)