Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lua/codecompanion/providers/slash_commands/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end
---The function to display the provider
---@return function
function Telescope:display()
return function()
return function(_, map)
local actions = require("telescope.actions")
local action_state = require("telescope.actions.state")

Expand All @@ -39,7 +39,7 @@ function Telescope:display()
end
end)
end)

map({'i', 'n'}, '<CR>', actions.select_default)
return true
end
end
Expand Down
Loading