You've already forked dotfiles
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
34 lines
808 B
Lua
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',
|
|
},
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|