oh thats why
This commit is contained in:
parent
23b6abe7cc
commit
a578b32053
1 changed files with 8 additions and 4 deletions
|
@ -912,12 +912,16 @@ this should be useful later
|
|||
#+end_src
|
||||
** Typescript
|
||||
#+begin_src emacs-lisp
|
||||
(add-hook 'typescript-ts-mode 'eglot-ensure)
|
||||
(add-hook 'tsx-ts-mode 'eglot-ensure)
|
||||
(add-hook 'typescript-ts-mode 'eglot-ensure)
|
||||
(add-hook 'tsx-ts-mode 'eglot-ensure)
|
||||
|
||||
(setq treesit-language-source-alist
|
||||
(setq auto-mode-alist
|
||||
(append '((".*\\.ts\\'" . typescript-ts-mode)
|
||||
(".*\\.tsx\\'" . tsx-ts-mode))))
|
||||
|
||||
(setq treesit-language-source-alist
|
||||
'((typescript "https://github.com/tree-sitter/tree-sitter-typescript" "master" "typescript/src" nil nil)
|
||||
(tsx "https://github.com/tree-sitter/tree-sitter-typescript" "master" "tsx/src" nil nil)))
|
||||
(tsx "https://github.com/tree-sitter/tree-sitter-typescript" "master" "tsx/src" nil nil)))
|
||||
#+end_src
|
||||
** Astro
|
||||
#+begin_src emacs-lisp
|
||||
|
|
Loading…
Reference in a new issue