Switch lsp for Python to ty
This commit is contained in:
parent
3271d02431
commit
67ff263b5a
1 changed files with 3 additions and 0 deletions
|
|
@ -185,6 +185,9 @@
|
||||||
:documentRangeFormattingProvider
|
:documentRangeFormattingProvider
|
||||||
:documentOnTypeFormattingProvider))
|
:documentOnTypeFormattingProvider))
|
||||||
:config
|
:config
|
||||||
|
(add-to-list 'eglot-server-programs
|
||||||
|
'(python-base-mode . ("ty" "server"))
|
||||||
|
0)
|
||||||
(dolist (mode '(json-mode json-ts-mode))
|
(dolist (mode '(json-mode json-ts-mode))
|
||||||
(add-to-list 'eglot-server-programs
|
(add-to-list 'eglot-server-programs
|
||||||
`(,mode . ("vscode-json-language-server" "--stdio"))
|
`(,mode . ("vscode-json-language-server" "--stdio"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue