Skip to content

Instantly share code, notes, and snippets.

@b3z
Created June 14, 2023 13:14
Show Gist options
  • Save b3z/d7241e8513788b9a3cbeaadcf2d28b90 to your computer and use it in GitHub Desktop.
Save b3z/d7241e8513788b9a3cbeaadcf2d28b90 to your computer and use it in GitHub Desktop.
Disable line to long warning in pylsp lua neovim and disable linebreaks when formatting
return {
settings = {
pylsp = {
plugins = {
pycodestyle = {
ignore = {'E501'}, -- This is the Error code for line too long.
maxLineLength = 200 -- This sets how long the line is allowed to be. Also has effect on formatter.
},
},
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment