Skip to content

Instantly share code, notes, and snippets.

View hahdookin's full-sized avatar
🧊

Christopher Pane hahdookin

🧊
View GitHub Profile
@hahdookin
hahdookin / script.vim
Created March 31, 2022 05:50
Example vim9script with jobs
" 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)