doom: Use newer *-ts-mode in few places
This commit is contained in:
parent
329c41bfa9
commit
f50c350676
1 changed files with 13 additions and 0 deletions
|
@ -1243,6 +1243,19 @@ When Emacs is opened in Windows Subsystem for Linux, open web links in Firefox o
|
|||
;; (setq-local company-idle-delay 0.1))))
|
||||
#+end_src
|
||||
|
||||
** Tree-sitter
|
||||
#+begin_src emacs-lisp :lexical t
|
||||
(after! emacs
|
||||
(setq! major-mode-remap-alist
|
||||
'((yaml-mode . yaml-ts-mode)
|
||||
(bash-mode . bash-ts-mode)
|
||||
(js2-mode . js-ts-mode)
|
||||
(typescript-mode . typescript-ts-mode)
|
||||
(json-mode . json-ts-mode)
|
||||
(css-mode . css-ts-mode)
|
||||
(python-mode . python-ts-mode))))
|
||||
#+end_src
|
||||
|
||||
# Local Variables:
|
||||
# jinx-local-words: "lockfiles"
|
||||
# End:
|
||||
|
|
Reference in a new issue