Refactor vimscript into lua

This commit is contained in:
mitchell 2025-04-14 06:58:16 -04:00
parent b55aab8a89
commit 44697ec5bf
3 changed files with 179 additions and 188 deletions

View file

@ -0,0 +1,4 @@
function aisearch --wraps aichat
set -lx AICHAT_PATCH_GEMINI_CHAT_COMPLETIONS '{".*":{"body":{"tools":[{"google_search":{}}]}}}'
aichat -r search -s $argv
end