TypeScript stuff

This commit is contained in:
Alexander Rosenberg 2024-12-25 19:26:48 -08:00
parent 459705d05a
commit 101342c5e3
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -182,6 +182,8 @@
(go "https://github.com/tree-sitter/tree-sitter-go")
(gomod "https://github.com/camdencheek/tree-sitter-go-mod")
(javascript "https://github.com/tree-sitter/tree-sitter-javascript")
(typescript "https://github.com/tree-sitter/tree-sitter-typescript"
nil "typescript/src")
(bash "https://github.com/tree-sitter/tree-sitter-bash")
(cmake "https://github.com/uyha/tree-sitter-cmake")
(blueprint "https://github.com/huanie/tree-sitter-blueprint")
@ -1647,6 +1649,13 @@ otherwise, call `bibtex-find-text'."
:ensure nil
:hook (js-ts-mode . eglot-ensure))
;; TypeScript
(use-package typescript-ts-mode
:ensure nil
:hook (typescript-ts-mode . eglot-ensure)
:init
(add-to-list 'auto-mode-alist `(,(rx ".ts" eos) . typescript-ts-mode)))
;; Polymode
(use-package polymode
:config