Skip to content

Commit

Permalink
Ensure startup server after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Mar 18, 2024
1 parent 9784627 commit 5b066ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lsp-ltex.el
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,10 @@ When STORE is non-nil, this will also store the new plist in the directory
:server-id 'ltex-ls
:download-server-fn
(lambda (_client _callback error-callback _update?)
(lsp-package-ensure 'ltex-ls #'lsp-ltex-install-ls error-callback))))
(lsp-package-ensure 'ltex-ls (lambda (&rest _)
(lsp-ltex-install-ls)
(funcall callback))
error-callback))))

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

0 comments on commit 5b066ab

Please sign in to comment.