We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4186bad commit bf834ddCopy full SHA for bf834dd
plugin/plugin.py
@@ -201,16 +201,7 @@ async def start(self) -> None:
201
async def update_libraries(self, libs: list[PartialLibrary]) -> None:
202
cache: dict[str, Library] = {}
203
for lib in libs:
204
- if lib.type == "auto":
205
- obj = await self.handle_auto_doctype(lib)
206
- if obj is None:
207
- await self.api.show_error_message(
208
- "rtfm", f"Could not figure out how to parse {lib.name!r}"
209
- )
210
- else:
211
- cache[lib.name] = obj
212
213
- cache[lib.name] = library_from_partial(lib)
+ cache[lib.name] = library_from_partial(lib)
214
self._library_cache = cache
215
self.better_settings.libraries = [lib.to_partial() for lib in cache.values()]
216
self.dump_settings()
0 commit comments