yegappan / lsp

Language Server Protocol (LSP) plugin for Vim9
MIT License
447 stars 43 forks source link

How to set pyls.configurationSources? #504

Open lucas-mior opened 2 months ago

lucas-mior commented 2 months ago

python-language-server's README goes as follows:

The default configuration source is pycodestyle. Change the pyls.configurationSources setting to ['flake8'] in order to respect flake8 configuration instead. Overall configuration is computed first from user configuration (in home directory), overridden by configuration passed in by the language client, and then overriden by configuration discovered in the workspace. To enable pydocstyle for linting docstrings add the following setting in your LSP configuration: "pyls.plugins.pydocstyle.enabled": true

How is it done with this vim 9 lsp?