From d31d0e9050620369159a7585580c6ef5dafe3867 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 6 Nov 2018 12:49:28 -0500 Subject: [PATCH] Switch to lsp-typescript --- .emacs.d/init.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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