Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class PythonLanguageClient extends AutoLanguageClient {
.then(() => {
// enable if disabled
atom.packages.enablePackage("atom-ide-base")
atom.notifications.addSuccess("ide-pyhon: atom-ide-base was installed and enabled...")
atom.notifications.addSuccess("ide-python: atom-ide-base was installed and enabled...")
})
}
// Remove deprecated option
Expand All @@ -46,8 +46,9 @@ class PythonLanguageClient extends AutoLanguageClient {
}

mapConfigurationObject(configuration) {
const lsp = configuration.pyls || "pylsp"
return {
pyls: {
[lsp]: {
configurationSources: configuration.pylsConfigurationSources,
rope: sanitizeConfig(configuration.rope),
plugins: configuration.pylsPlugins,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"description": "Absolute path of your Python binary. This is used to launch the Python language server. Make sure to install `pyls` for this version of Python. Changes will take effect after a restart of the language server. Use `$PIPENV_PATH/bin/python` if you want to use the pipenv path of your project"
},
"pyls": {
"title": "Path to pyls executable",
"title": "Python Language Server module",
"order": 2,
"type": "string",
"default": "pylsp"
Expand Down