chg: Switch to ruff for python lsp
This commit is contained in:
parent
69d3e7d994
commit
cf34340f3c
1 changed files with 4 additions and 6 deletions
|
@ -1,12 +1,10 @@
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = require('lspconfig')
|
||||||
local map = vim.keymap.set
|
local map = vim.keymap.set
|
||||||
|
|
||||||
lspconfig.pyright.setup({
|
lspconfig.ruff.setup({
|
||||||
|
init_options = {
|
||||||
settings = {
|
settings = {
|
||||||
python = {
|
lineLength = 100,
|
||||||
analysis = {
|
|
||||||
typeCheckingMode = "off"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue