mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(language/typescript): remove needless hook setup
tsx-ts-mode inherits from typescript-ts-mode, so it has the same hooks.
This commit is contained in:
@@ -27,9 +27,7 @@
|
||||
|
||||
(use-package tsx-ts-mode
|
||||
:straight (:type built-in)
|
||||
:mode "\\.tsx\\'"
|
||||
:hook
|
||||
(typescript-mode . siren-typescript-mode-setup))
|
||||
:mode "\\.tsx\\'")
|
||||
|
||||
(defun siren-typescript-mode-setup ()
|
||||
"Default setup function for `typescript-mode' and `typescript-ts-mode'."
|
||||
|
||||
Reference in New Issue
Block a user