fix(emacs): configure rjsx-mode hooks
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
84c8080d7d
commit
b90499a853
2 changed files with 5 additions and 0 deletions
|
@ -348,5 +348,9 @@
|
|||
(windmove-left)
|
||||
(windmove-left)))))
|
||||
|
||||
;; rjsx
|
||||
|
||||
(setq auto-mode-alist (cons '("\\.tsx$" . rjsx-mode) auto-mode-alist))
|
||||
|
||||
(provide 'misc)
|
||||
;;; misc.el ends here
|
||||
|
|
|
@ -156,6 +156,7 @@
|
|||
(add-hook 'go-mode-hook #'lsp)
|
||||
(add-hook 'tuareg-mode-hook #'lsp)
|
||||
(add-hook 'haskell-mode-hook #'lsp)
|
||||
(add-hook 'rjsx-mode-hook #'lsp)
|
||||
(add-hook 'java-mode-hook #'eglot-java-mode)
|
||||
|
||||
(add-hook 'emacs-lisp-mode-hook #'paredit-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue