Skip to content

Commit

Permalink
Merge pull request #2015 from gmlarumbe/master
Browse files Browse the repository at this point in the history
Add support for python-ts-mode
  • Loading branch information
gopar authored Aug 3, 2023
2 parents 243623c + 7826d18 commit 7ff8ffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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-ts-mode)
(error "Elpy only works with `python-mode'"))
(unless elpy-enabled-p
(error "Please enable Elpy with `(elpy-enable)` before using it"))
Expand Down
1 change: 1 addition & 0 deletions snippets/python-ts-mode/.yas-parents
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-mode

0 comments on commit 7ff8ffa

Please sign in to comment.