Use ty for linting

This commit is contained in:
Maximilian Friedersdorff 2025-06-09 13:58:14 +01:00
parent 7a77ab8abb
commit b9a7950c96
2 changed files with 2 additions and 8 deletions

View file

@ -2,7 +2,7 @@
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here -- Add any additional options here
vim.g.lazyvim_python_lsp = "basedpyright" vim.g.lazyvim_python_lsp = "ty"
--- Whitespace --- --- Whitespace ---
vim.o.expandtab = true vim.o.expandtab = true

View file

@ -5,13 +5,7 @@ return {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {
servers = { servers = {
basedpyright = { ty = {},
settings = {
basedpyright = {
typeCheckingMode = "basic",
},
},
},
}, },
}, },
}, },