Use ty for linting
This commit is contained in:
parent
7a77ab8abb
commit
b9a7950c96
2 changed files with 2 additions and 8 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,7 @@ return {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
servers = {
|
servers = {
|
||||||
basedpyright = {
|
ty = {},
|
||||||
settings = {
|
|
||||||
basedpyright = {
|
|
||||||
typeCheckingMode = "basic",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue