Closed LukaK closed 2 years ago
Ok, did a bit of testing and it seems I have and issue with target virtual environment and plugin is working ok on other virtual environments.
Closing, and tnx for the plugin and take care :).
Just to document the solution. The issue was how pylsp handles root directory detection and the organization of the repository. Pysl root needs to be where .nslp-settings
directory is to properly load local configuration.
To change root dir configuration for pyls see neovim/nvim-lspconfig/issues/320
Hi, I have issues with local settings for pylsp.
When I define local settings for a project with
LspSettings local pylsp
, file is created successfully under.nlsp-settings
in the project root and on save I get sucess message. Unfortunatelly configuration is not applied to he project.Here are my local settings:
If I remove local settings and apply them to global scope with
LspSettings pylsp
, file is successfully created undernlsp-settings
in nvim directory and the configuration is loaded ok.Here is the pylsp configuration:
And here is the server setup file with lsp_installer:
Thank you in advance.