This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" vim9script that uses jobs to find a word's defintions | |
" and post them to the quickfix list | |
" Last Change: 2022 Mar 31 | |
" Maintainer: Christopher Pane <[email protected]> | |
vim9script | |
const api = "https://api.dictionaryapi.dev/api/v2/entries/en/" | |
def OnResponse(ch: channel, msg: string) | |
const json = json_decode(msg) |