We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b5487 commit 8a266b8Copy full SHA for 8a266b8
clients/lsp-python-ty.el
@@ -38,10 +38,11 @@
38
:type '(repeat string))
39
40
(lsp-register-client
41
- (make-lsp-client :new-connection (lsp-stdio-connection lsp-python-ty-clients-server-command)
42
- :major-modes '(python-mode)
43
- :server-id 'lsp-python-ty))
44
-
+ (make-lsp-client :new-connection (lsp-stdio-connection (lambda () lsp-python-ty-clients-server-command))
+ :activation-fn (lsp-activate-on "python")
+ :priority -1
+ :add-on? t
45
+ :server-id 'ty-ls))
46
47
(lsp-consistency-check lsp-python-ty)
48
0 commit comments