enc: add copy paste to telescope livegrap

This commit is contained in:
asep.komarudin 2024-06-26 20:40:54 +07:00
parent d93425cec0
commit cf21e5a91a

View file

@ -9,6 +9,9 @@ return {
} }
local live_grep = { local live_grep = {
only_sort_text = true, only_sort_text = true,
additional_args = function()
return { "--multiline" }
end,
} }
if pcode.telescope_theme_find_file and pcode.telescope_theme_find_file ~= "center" then if pcode.telescope_theme_find_file and pcode.telescope_theme_find_file ~= "center" then
find_files = { find_files = {
@ -20,6 +23,9 @@ return {
live_grep = { live_grep = {
theme = pcode.telescope_theme_live_grep, theme = pcode.telescope_theme_live_grep,
only_sort_text = true, only_sort_text = true,
additional_args = function()
return { "--multiline" }
end,
} }
end end
local actions = require("telescope.actions") local actions = require("telescope.actions")