Skip to content

Commit 9c1967f

Browse files
committed
feat(lsp): add a quick support table for ty language server
1 parent 1186ad4 commit 9c1967f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lua/python/lsp/init.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ PythonLSP.python_lsp_servers = {
5959
vim.cmd(":LspRestart SithLSP")
6060
end,
6161
},
62+
ty = {
63+
callback = function(_, client)
64+
vim.notify_once(string.format("python.nvim: restart lsp client: '%s'", client.name), vim.log.levels.INFO)
65+
vim.cmd(":LspRestart ty")
66+
end,
67+
},
6268
-- For my homies in devops
6369
ansiblels = {
6470
callback = function(_, client)

0 commit comments

Comments
 (0)