chore(cmd): add manual refresh and update types (#44)

* chore(cmd): add manual refresh and update types

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

* chore: add refresh mapping

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 13:41:34 -04:00
committed by GitHub
parent d0d4f8a27c
commit 95b42e835f
5 changed files with 48 additions and 38 deletions

View File

@@ -1,12 +1,12 @@
--@class avante.SelectionResult
--@field content string Selected content
--@field range avante.Range Selection range
---@class avante.SelectionResult
---@field content string Selected content
---@field range avante.Range Selection range
local SelectionResult = {}
SelectionResult.__index = SelectionResult
-- Create a selection content and range
--@param content string Selected content
--@param range avante.Range Selection range
---@param content string Selected content
---@param range avante.Range Selection range
function SelectionResult.new(content, range)
local self = setmetatable({}, SelectionResult)
self.content = content