sublimelsp / LSP-pylsp

Convenience package for the Python Language Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No expandpath in path variables

sprat opened this issue · comments

I would like configure the default jedi environment like this:

{
    "settings": {
        "pylsp.plugins.jedi.environment": "~/.virtualenvs/${project_base_name}",
    }
}

However, the plugin does not expand "~" into my home directory path. Could an expandpath be added on the settings variables that hold a path? (I don't know how to do that, otherwise I would have filed a pull request)

Oh right, I didn't tried this. Thanks!