thesaurus_query.vim
thesaurus_query.vim copied to clipboard
Add synonymer.se as a backend
Hi @noooxxi ,
Thanks for your interests. To add a backend, you can create a python file in folder autoload/thesaurus_query/backends/
. It can be picked up and loaded by the framework as long as this file has query()
method to take queries, identifier
and language
to describe your backend name and language it is for.
For example, you can see the implementation using openthesaurus.de API for German thesaurus query: https://github.com/Ron89/thesaurus_query.vim/blob/master/autoload/thesaurus_query/backends/openthesaurus_de_lookup.py