Update after pulling python-lsp-server git repository

This commit is contained in:
Gerard Vermeulen 2022-07-01 09:43:42 +02:00
parent f4c428721e
commit 4fb67b6a52
2 changed files with 8 additions and 8 deletions

View File

@ -3334,16 +3334,16 @@ the information to [[https://github.com/python-lsp/python-lsp-server][python-lsp
#+name: lst:show-pylsp-server-patch
#+begin_src diff :tangle no
diff --git a/pylsp/config/schema.json b/pylsp/config/schema.json
index d21027d..7ca0659 100644
index 860ccc1..44d80c9 100644
--- a/pylsp/config/schema.json
+++ b/pylsp/config/schema.json
@@ -69,6 +69,14 @@
"default": null,
@@ -82,6 +82,14 @@
"uniqueItems": true,
"description": "List of errors and warnings to enable."
},
+ "pylsp.plugins.jedi.auto_import_modules": {
+ "type": "array",
+ "default": ["numpy", "gi"],
+ "default": ["numpy", "gi"],
+ "items": {
+ "type": "string"
+ },

View File

@ -1,14 +1,14 @@
diff --git a/pylsp/config/schema.json b/pylsp/config/schema.json
index d21027d..7ca0659 100644
index 860ccc1..44d80c9 100644
--- a/pylsp/config/schema.json
+++ b/pylsp/config/schema.json
@@ -69,6 +69,14 @@
"default": null,
@@ -82,6 +82,14 @@
"uniqueItems": true,
"description": "List of errors and warnings to enable."
},
+ "pylsp.plugins.jedi.auto_import_modules": {
+ "type": "array",
+ "default": ["numpy", "gi"],
+ "default": ["numpy", "gi"],
+ "items": {
+ "type": "string"
+ },