Add Python related LS stuff

This commit is contained in:
Olli Vuolteenaho 2023-06-23 16:21:23 +03:00
parent 96f393672a
commit ebcbbae0d0
1 changed files with 6 additions and 7 deletions

View File

@ -578,15 +578,14 @@ 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
require('neodev').setup() require('neodev').setup()