There was an error while loading. Please reload this page.
1 parent 1bde817 commit af3d8ffCopy full SHA for af3d8ff
1 file changed
lua/eca/api.lua
@@ -147,12 +147,12 @@ function M.add_selection_context()
147
148
-- Create context object
149
local context = {
150
- type = "selection",
+ type = "file",
151
path = context_path,
152
- content = selection_text,
153
- source_file = current_file,
154
- start_line = start_line,
155
- end_line = end_line,
+ lines_range = {
+ start = start_line,
+ End = end_line
+ }
156
}
157
158
-- Get current sidebar and add context
0 commit comments