diff options
-rw-r--r-- | doom.d/config.org | 7 |
1 files changed, 7 insertions, 0 deletions
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 |