Skip to content

Commit

Permalink
fixup! python: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lebensterben authored and duianto committed Apr 4, 2021
1 parent 9115fd9 commit f7c2ce8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layers/+lang/python/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@
(if (configuration-layer/layer-used-p 'lsp)
(progn
(require (pcase python-lsp-server
('pyls 'lsp-pyls)
('mspyls 'lsp-python-ms)
('pyright 'lsp-pyright)))
('pyright 'lsp-pyright)
(x (user-error "Unknown value for `python-lsp-server': %s" x))))
(lsp))
(message "`lsp' layer is not installed, please add `lsp' layer to your dotfile.")))

Expand Down

0 comments on commit f7c2ce8

Please sign in to comment.