| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Tests are failing due to a new Numpy release. I'll fix them in another PR. |
Sorry, something went wrong.
|
Please rebase on top of the latest develop to get the fix to our tests in PR #231. |
Sorry, something went wrong.
Added a note that in order to enable yapf, one must disable autopep8.
Confirmed with the following config, which reports to the log which
formatter is being used when invoking
`<cmd>lua vim.lsp.buf.formatting()<CR>`
```
nvim_lsp.pylsp.setup {
cmd = { "/.../bin/pylsp", "-v", "--log-file=/tmp/pylsp.log" },
settings = {
pylsp = {
plugins = {
autopep8 = {enabled = false},
},
},
},
}
```
I only noticed this because my yapf config uses 2-space indenting
(thanks, Google, for forcing me to do this), and with no configuration
changes it will ignore that config in my `setup.cfg`, because autopep8
doesn't see it.
There was a problem hiding this comment.
Thanks @j2kun for your contribution!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Added a note that in order to enable yapf, one must disable autopep8.
Confirmed with the following config, which reports to the log which
formatter is being used when invoking
<cmd>lua vim.lsp.buf.formatting()<CR>
nvim_lsp.pylsp.setup { cmd = { "/.../bin/pylsp", "-v", "--log-file=/tmp/pylsp.log" }, settings = { pylsp = { plugins = { autopep8 = {enabled = false}, }, }, }, }I only noticed this because my yapf config uses 2-space indenting
(thanks, Google, for forcing me to do this), and with no configuration
changes autopep8 will ignore that config in my setup.cfg and indent
with 4 spaces.