File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,23 @@ return {
16
16
contexts = {
17
17
-- Open a file picker to select a file
18
18
-- https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/690#issuecomment-2551162017
19
- file = {
20
- input = function (callback )
21
- local telescope = require ' telescope.builtin'
22
- local actions = require ' telescope.actions'
23
- local action_state = require ' telescope.actions.state'
24
- telescope .find_files {
25
- attach_mappings = function (prompt_bufnr )
26
- actions .select_default :replace (function ()
27
- actions .close (prompt_bufnr )
28
- local selection = action_state .get_selected_entry ()
29
- callback (selection [1 ])
30
- end )
31
- return true
32
- end ,
33
- }
34
- end ,
35
- },
19
+ -- file = {
20
+ -- input = function(callback)
21
+ -- local telescope = require 'telescope.builtin'
22
+ -- local actions = require 'telescope.actions'
23
+ -- local action_state = require 'telescope.actions.state'
24
+ -- telescope.find_files {
25
+ -- attach_mappings = function(prompt_bufnr)
26
+ -- actions.select_default:replace(function()
27
+ -- actions.close(prompt_bufnr)
28
+ -- local selection = action_state.get_selected_entry()
29
+ -- callback(selection[1])
30
+ -- end)
31
+ -- return true
32
+ -- end,
33
+ -- }
34
+ -- end,
35
+ -- },
36
36
},
37
37
},
38
38
keys = {
You can’t perform that action at this time.
0 commit comments