Switch to lsp-typescript

This commit is contained in:
Adam Goldsmith 2018-11-06 12:49:28 -05:00
parent fa56fb6d85
commit d31d0e9050

View File

@ -482,12 +482,12 @@
:config :config
(setq lsp-java-save-action-organize-imports nil)) (setq lsp-java-save-action-organize-imports nil))
(use-package lsp-javascript-typescript (use-package lsp-typescript
;; Requires javascript-typescript-langserver installed locally ;; requires typescript-language-server
:hook ((js-mode . lsp-javascript-typescript-enable) :hook ((js-mode . lsp-typescript-enable)
(typescript-mode . lsp-javascript-typescript-enable) (typescript-mode . lsp-typescript-enable)
(js3-mode . lsp-javascript-typescript-enable) (js2-mode . lsp-typescript-enable)
(rjsx-mode . lsp-javascript-typescript-enable))) (rjsx-mode . lsp-typescript-enable)))
(use-package lsp-html (use-package lsp-html
;; requires vscode-html-languageserver-bin ;; requires vscode-html-languageserver-bin