TypeScript stuff
This commit is contained in:
parent
459705d05a
commit
101342c5e3
9
init.el
9
init.el
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user