We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4eaad commit 494e98bCopy full SHA for 494e98b
pylsp/_utils.py
@@ -125,6 +125,8 @@ def _merge_dicts_(a, b):
125
if key in a and key in b:
126
if isinstance(a[key], dict) and isinstance(b[key], dict):
127
yield (key, dict(_merge_dicts_(a[key], b[key])))
128
+ elif isinstance(a[key], list) and isinstance(b[key], list):
129
+ yield (key, list(set(a[key] + b[key])))
130
elif b[key] is not None:
131
yield (key, b[key])
132
else:
0 commit comments