fix bug of some versions of emacs and tree-sitter environment

This commit is contained in:
zedhugh committed 2024-11-04 06:01:14 +08:00
1 parent f0b8c2a5a8
commit a537d35961
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode))
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . tsx-ts-mode)))
(add-subdirs-to-load-path (expand-file-name "optional-pkg" creature/config-dir))
(add-dir-and-subdirs-to-load-path (expand-file-name "optional-pkg" creature/config-dir))
(require 'typescript-mode)
(define-derived-mode typescript-tsx-mode typescript-mode "Tsx"