Skip to content

Commit

Permalink
Add support for python-ts-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlarumbe committed May 21, 2023
1 parent 840713f commit eea3dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elpy.el
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ virtualenv.
\\{elpy-mode-map}"
:lighter " Elpy"
(unless (derived-mode-p 'python-mode)
(unless (derived-mode-p 'python-mode 'python-base-mode)
(error "Elpy only works with `python-mode'"))
(unless elpy-enabled-p
(error "Please enable Elpy with `(elpy-enable)` before using it"))
Expand Down

0 comments on commit eea3dec

Please sign in to comment.