This file contains 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
function run(input) { | |
const key = 'your-key-here'; | |
return summarizeText(input[0], key) | |
} | |
function summarizeText(text, apiKey) { | |
const app = Application.currentApplication(); | |
app.includeStandardAdditions = true; | |
const endpoint = 'https://api.openai.com/v1/chat/completions'; |
This file contains 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
" Plugins will be downloaded under the specified directory. | |
call plug#begin('~/.config/nvim/plugged') | |
" Declare the list of plugins. | |
Plug 'christoomey/vim-tmux-navigator' | |
Plug 'junegunn/fzf', { 'do': './install --bin' } | |
Plug 'tpope/vim-liquid' | |
Plug 'jparise/vim-graphql' | |
Plug 'scrooloose/nerdtree' | |
Plug 'vim-airline/vim-airline' |