feat(ui): add envvar popup with warnings (#54)

* feat: add support for input popup of envvar

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: update README and ignore certain filetypes for popup

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix: readme doesn't support nested callout

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-17 16:04:40 -04:00
committed by GitHub
parent f4ab995515
commit af1f51455e
6 changed files with 228 additions and 42 deletions

View File

@@ -4,6 +4,7 @@ local Tiktoken = require("avante.tiktoken")
local Sidebar = require("avante.sidebar")
local Config = require("avante.config")
local Diff = require("avante.diff")
local AiBot = require("avante.ai_bot")
local Selection = require("avante.selection")
---@class Avante
@@ -164,6 +165,7 @@ function M.setup(opts)
end
Diff.setup()
AiBot.setup()
M.selection = Selection:new():setup()
-- setup helpers