Skip to content

Commit

Permalink
Update tsx-tide checker modes (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
phuhl committed Apr 28, 2023
1 parent 29475d9 commit ea47d8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tide.el
Expand Up @@ -300,7 +300,7 @@ this variable to non-nil value for Javascript buffers using `setq-local' macro."
(make-variable-buffer-local ',name)
(put ',name 'permanent-local t)))

(defvar tide-supported-modes '(typescript-mode typescript-ts-base-mode web-mode js-mode js2-mode js2-jsx-mode js3-mode rjsx-mode))
(defvar tide-supported-modes '(typescript-mode typescript-ts-mode tsx-ts-mode web-mode js-mode js2-mode js2-jsx-mode js3-mode rjsx-mode))

(defvar tide-server-buffer-name "*tide-server*")
(defvar tide-request-counter 0)
Expand Down Expand Up @@ -2524,7 +2524,7 @@ current buffer."
"A TypeScript syntax checker using tsserver."
:start #'tide-flycheck-start
:verify #'tide-flycheck-verify
:modes '(typescript-mode typescript-ts-base-mode)
:modes '(typescript-mode typescript-ts-mode)
:predicate #'tide-flycheck-predicate)

(add-to-list 'flycheck-checkers 'typescript-tide)
Expand Down Expand Up @@ -2554,7 +2554,7 @@ current buffer."
"A TSX syntax checker using tsserver."
:start #'tide-flycheck-start
:verify #'tide-flycheck-verify
:modes '(web-mode typescript-ts-base-mode)
:modes '(web-mode tsx-ts-mode)
:predicate (lambda ()
(and
(tide-file-extension-p "tsx")
Expand Down

0 comments on commit ea47d8f

Please sign in to comment.