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 map = vim.keymap.set
|
||||
|
||||
lspconfig.pyright.setup({
|
||||
settings = {
|
||||
python = {
|
||||
analysis = {
|
||||
typeCheckingMode = "off"
|
||||
}
|
||||
lspconfig.ruff.setup({
|
||||
init_options = {
|
||||
settings = {
|
||||
lineLength = 100,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue