Files
dotfiles/nvim/after/lsp/pylsp.lua
FaultyBranches 86475a8e8e feat: Removing nvim-lspconfig and starting the removal of Mason, adding
in LSP definitions for servers that are used, adding in a script to
check for LSPs, removing some extraneous items in the tmux conf, moving
autopairs to its own file
2026-08-16 20:19:05 -05:00

34 lines
808 B
Lua

-- Python LSP disabling some linting that is not required to enforce
return {
cmd = { 'pylsp' },
filetypes = { 'python' },
root_markers = {
'pyproject.toml',
'setup.py',
'setup.cfg',
'requirements.txt',
'Pipfile',
'.git',
},
settings = {
pylsp = {
plugins = {
pycodestyle = {
enabled = true,
ignore = {
'E501' -- line-too-long
},
maxLineLength = 120,
},
pylint = {
enabled = true,
args = {
'--disable=line-too-long,import-error',
},
}
}
}
}
}