mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix tide not working with rjsx-mode
Tide doesn't work with rjsx-mode after changing to *-mode-local-vars-hook. Fixed by adding +javascript-init-lsp-or-tide-maybe-h for rjsx-mode-local-vars-hook as well. Signed-off-by: Huy Duong <huy.duong@employmenthero.com>
This commit is contained in:
@ -135,7 +135,8 @@
|
||||
|
||||
(add-hook! '(js2-mode-local-vars-hook
|
||||
typescript-mode-local-vars-hook
|
||||
web-mode-local-vars-hook)
|
||||
web-mode-local-vars-hook
|
||||
rjsx-mode-local-vars-hook)
|
||||
(defun +javascript-init-lsp-or-tide-maybe-h ()
|
||||
"Start `lsp' or `tide' in the current buffer.
|
||||
|
||||
|
Reference in New Issue
Block a user