Skip to content

Commit

Permalink
update settings schema for pylsp 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Nov 25, 2021
1 parent a6fd0af commit 6cc56fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions LSP-pylsp.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
// Enable or disable the plugin.
"pylsp.plugins.jedi_completion.enabled": true,
// Modules for which the labels should be cached.
"pylsp.plugins.jedi_completion.cache_labels_for": ["pandas", "numpy", "tensorflow", "matplotlib"],
"pylsp.plugins.jedi_completion.cache_for": ["pandas", "numpy", "tensorflow", "matplotlib"],
// Resolve documentation and detail eagerly.
"pylsp.plugins.jedi_completion.eager": false,
// Enable fuzzy when requesting autocomplete.
Expand All @@ -62,7 +62,7 @@
// Auto-completes methods and classes with tabstops for each parameter.
"pylsp.plugins.jedi_completion.include_params": true,
// How many labels (at most) should be resolved?
"pylsp.plugins.jedi_completion.resolve_at_most_labels": 25,
"pylsp.plugins.jedi_completion.resolve_at_most": 25,
// Enable or disable the plugin.
"pylsp.plugins.jedi_definition.enabled": true,
// If follow_imports is True will decide if it follow builtin imports.
Expand Down
13 changes: 9 additions & 4 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@
"default": false,
"description": "Resolve documentation and detail eagerly."
},
"pylsp.plugins.jedi_completion.resolve_at_most_labels": {
"pylsp.plugins.jedi_completion.resolve_at_most": {
"type": "number",
"default": 25,
"description": "How many labels (at most) should be resolved?"
"description": "How many labels and snippets (at most) should be resolved?"
},
"pylsp.plugins.jedi_completion.cache_labels_for": {
"pylsp.plugins.jedi_completion.cache_for": {
"type": "array",
"items": {
"type": "string"
Expand All @@ -199,7 +199,7 @@
"tensorflow",
"matplotlib"
],
"description": "Modules for which the labels should be cached."
"description": "Modules for which labels and snippets should be cached."
},
"pylsp.plugins.jedi_definition.enabled": {
"type": "boolean",
Expand Down Expand Up @@ -323,6 +323,11 @@
"items": {
"type": "string"
},
"defaultSnippets": [
{
"body": ["E501"]
}
],
"uniqueItems": true,
"description": "Ignore errors and warnings."
},
Expand Down

0 comments on commit 6cc56fa

Please sign in to comment.