Browse Source

Fix for jsx and other js2 derived modes.

* indium-debugger.el: (indium-debugger-setup-buffer): Make the debugger work
  with derived modes of js2-mode like js2-jsx-mode or rjsx-mode.
drone
Nicolas Petton 3 years ago
parent
commit
b2ab7543b1
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      indium-debugger.el

+ 1
- 1
indium-debugger.el View File

@ -433,7 +433,7 @@ frame."
(eq major-mode indium-debugger-major-mode))
(funcall indium-debugger-major-mode))
(indium-debugger-mode 1)
(when (eq major-mode 'js2-mode)
(when (derived-mode-p 'js2-mode)
(js2-reparse))
(read-only-mode)))


Loading…
Cancel
Save