Add Python related LS stuff
This commit is contained in:
parent
96f393672a
commit
ebcbbae0d0
11
init.lua
11
init.lua
|
|
@ -578,14 +578,13 @@ local servers = {
|
||||||
-- tsserver = {},
|
-- tsserver = {},
|
||||||
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
|
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
|
||||||
|
|
||||||
lua_ls = {
|
pylsp = {
|
||||||
Lua = {
|
pylsp = {
|
||||||
workspace = { checkThirdParty = false },
|
plugins = {
|
||||||
telemetry = { enable = false },
|
ruff = {enabled = true},
|
||||||
-- NOTE: toggle below to ignore Lua_LS's noisy `missing-fields` warnings
|
|
||||||
-- diagnostics = { disable = { 'missing-fields' } },
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Setup neovim lua configuration
|
-- Setup neovim lua configuration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue