From e54d44350ae8692d1b1785ec9b80dafe760e93a5 Mon Sep 17 00:00:00 2001 From: oreodave Date: Sun, 24 Nov 2019 16:43:02 +0000 Subject: +typescript lsp registered server --- doom.d/config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doom.d/config.org b/doom.d/config.org index a05c38b..0937272 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -286,6 +286,13 @@ My docsets are stored in .docsets for ease of use (after! typescript-mode (setq typescript-indent-level 2) (setq tide-format-options '(:indentSize 2 :tabSize 2)) + (after! lsp + (cl-pushnew '(typescript-mode . "typescript") lsp-language-id-configuration :key #'car) + (lsp-register-client + (make-lsp-client + :new-connection (lsp-stdio-connection "typescript-language-server --stdio") + :major-modes '(typescript-mode) + :server-id 'typescript))) (map! :localleader :map typescript-mode-map -- cgit v1.2.3-13-gbd6f