aboutsummaryrefslogtreecommitdiff
path: root/doom.d/config.org
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-11-24 16:43:02 +0000
committeroreodave <aryadevchavali1@gmail.com>2019-11-24 16:43:02 +0000
commite54d44350ae8692d1b1785ec9b80dafe760e93a5 (patch)
tree463d74377c12166b57a1616ecb11be618f4431d6 /doom.d/config.org
parentebeb79cb5e49f3e371371482fadbe6af1661f9da (diff)
downloaddotfiles-e54d44350ae8692d1b1785ec9b80dafe760e93a5.tar.gz
dotfiles-e54d44350ae8692d1b1785ec9b80dafe760e93a5.tar.bz2
dotfiles-e54d44350ae8692d1b1785ec9b80dafe760e93a5.zip
+typescript lsp registered server
Diffstat (limited to 'doom.d/config.org')
-rw-r--r--doom.d/config.org7
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