telescope: disabled smart open

This commit is contained in:
Tigor Hutasuhut 2024-11-07 19:49:08 +07:00
parent 8cf46b48a4
commit ed6114dc05

View file

@ -1,30 +1,30 @@
return {
{
"danielfalk/smart-open.nvim",
keys = {
{
"<leader><space>",
function()
require("telescope").extensions.smart_open.smart_open { cwd_only = true }
end,
desc = "Open file or buffers",
},
},
},
{
"telescope.nvim",
opts = {
extensions = {
smart_open = {
result_limit = 50,
},
},
},
keys = {
{
"<leader><space>",
false,
},
},
},
-- {
-- "danielfalk/smart-open.nvim",
-- keys = {
-- {
-- "<leader><space>",
-- function()
-- require("telescope").extensions.smart_open.smart_open { cwd_only = true }
-- end,
-- desc = "Open file or buffers",
-- },
-- },
-- },
-- {
-- "telescope.nvim",
-- opts = {
-- extensions = {
-- smart_open = {
-- result_limit = 50,
-- },
-- },
-- },
-- keys = {
-- {
-- "<leader><space>",
-- false,
-- },
-- },
-- },
}