You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are not using vscode, then there is no documentation on the available configuration options. I only accidentally found it by browsing the source code of the vscode plugin. Could a markdown file be added with the options or at least a reference to the json file from the plugin?
Reacted by Simon Wahlgren, xdev-x, Matthew Grossman, Travis Cline, Matthieu Coudron, FichteFoll, Håken Lid, Sam Martin-Brown, David Barroso, Torstein Sørnes and 15 more
This would be quite useful. I, too, had to go through the vscode plugin code via #139 to find out how to enable plugins that I already have running using a different editor plugin.
The above lives in .vim/settings.json in my project root and is successfully picked up by my language server client (LanguageClient-neovim) and passed into pyls, but I have no idea whether I can provide more comprehensive settings to any of the various plugins.
Currently I don't seem to get mypy diagnostics back either, so there's still more to do.
Activity
FichteFoll commentedon Sep 13, 2018
This would be quite useful. I, too, had to go through the vscode plugin code via #139 to find out how to enable plugins that I already have running using a different editor plugin.
martsa1 commentedon Feb 7, 2019
Any update on this? Struggling to find even basic samples for what and how to configure things.
dbarrosop commentedon Feb 22, 2019
I agree, this is a bit frustrating. The point of language servers is to be IDE agnostic.
tsoernes commentedon Mar 27, 2019
See https://raw.githubusercontent.com/palantir/python-language-server/develop/vscode-client/package.json
also, Python LSP mode for spacemacs, which uses pyls, outputs this default config:
martsa1 commentedon Mar 28, 2019
For reference in case anyone else ends up here, I've managed to get the following to work to some extent for me:
{ "pyls": { "configurationSources": ["flake8"], "plugins": { "flake8": { "enabled": true }, "mypy": { "enabled": true }, "pycodestyle": { "enabled": false }, "pyflakes": { "enabled": true }, "pylint": { "enabled": true } } } }The above lives in
.vim/settings.jsonin my project root and is successfully picked up by my language server client (LanguageClient-neovim) and passed into pyls, but I have no idea whether I can provide more comprehensive settings to any of the various plugins.Currently I don't seem to get mypy diagnostics back either, so there's still more to do.