Merge pull request #3 from lazarust/switch-to-ty

Init switch to ty
This commit is contained in:
Thomas Lazarus 2026-01-04 11:02:19 -06:00 committed by GitHub
commit dbc3f3d74c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 17 deletions

View File

@ -154,23 +154,7 @@ return {
local capabilities = require('blink.cmp').get_lsp_capabilities() local capabilities = require('blink.cmp').get_lsp_capabilities()
local servers = { local servers = {
pyright = { ty = {},
on_init = function(client)
local venv_path = vim.fn.getcwd() .. '/.venv'
if vim.fn.isdirectory(venv_path) == 1 then
client.config.settings.python.pythonPath = venv_path .. '/bin/python'
end
end,
settings = {
python = {
analysis = {
typeCheckingMode = 'basic',
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
},
ruff = {}, ruff = {},
docker_compose_language_service = {}, docker_compose_language_service = {},
lua_ls = { lua_ls = {