diff --git a/.emacs.d/init.el b/.emacs.d/init.el index cc67704..4ed622a 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -482,12 +482,12 @@ :config (setq lsp-java-save-action-organize-imports nil)) - (use-package lsp-javascript-typescript - ;; Requires javascript-typescript-langserver installed locally - :hook ((js-mode . lsp-javascript-typescript-enable) - (typescript-mode . lsp-javascript-typescript-enable) - (js3-mode . lsp-javascript-typescript-enable) - (rjsx-mode . lsp-javascript-typescript-enable))) + (use-package lsp-typescript + ;; requires typescript-language-server + :hook ((js-mode . lsp-typescript-enable) + (typescript-mode . lsp-typescript-enable) + (js2-mode . lsp-typescript-enable) + (rjsx-mode . lsp-typescript-enable))) (use-package lsp-html ;; requires vscode-html-languageserver-bin