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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user