aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d/init.el
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2024-08-26 18:14:24 +0200
committerThomas Schneider <qsx@chaotikum.eu>2024-08-26 18:14:24 +0200
commit1af52aa888338f4ed390b64977720c4df30b79ea (patch)
treeb7524e859279f19781a0fcce7a2028c1fa56a57e /dot.emacs.d/init.el
parentddc3db640c8daeac43551bd4701cd055f516eaf1 (diff)
Emacs: Use tide for TypeScript
Diffstat (limited to 'dot.emacs.d/init.el')
-rw-r--r--dot.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 91b1237..d0264e8 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -155,6 +155,12 @@
:config
(editorconfig-mode 1))
+(use-package tide
+ :after (company flycheck)
+ :hook ((typescript-ts-mode . tide-setup)
+ (tsx-ts-mode . tide-setup)
+ (typescript-ts-mode . tide-hl-identifier-mode)))
+
(use-package lsp-mode
:commands lsp
:bind-keymap ("s-l" . lsp-command-map)