updated telescope config

This commit is contained in:
Ale 2024-06-22 22:01:40 +02:00
parent fe99784568
commit e2b4f2145a
3 changed files with 12 additions and 3 deletions

View file

@ -32,4 +32,3 @@ vim.wo.number = true
vim.opt.fillchars = {
vert = " "
}
vim.opt.confirm = true

View file

@ -1,5 +1,4 @@
{
"LazyVim": { "branch": "main", "commit": "b47c65f4087c4d82720ab7439f395aba5d6b5f40" },
"LuaSnip": { "branch": "master", "commit": "50fcf17db7c75af80e6b6109acfbfb4504768780" },
"bufferline.nvim": { "branch": "main", "commit": "99337f63f0a3c3ab9519f3d1da7618ca4f91cffe" },
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
@ -21,6 +20,7 @@
"nvim-ts-autotag": { "branch": "main", "commit": "ddfccbf0df1b9349c2b9e9b17f4afa8f9b6c1ed1" },
"nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"telescope-cmdline.nvim": { "branch": "main", "commit": "1c6a169d84a5e8f0c796f8275bdbb8019bd3ca14" },
"telescope.nvim": { "branch": "master", "commit": "f2bfde705ac752c52544d5cfa8b0aee0a766c1ed" },
"trouble.nvim": { "branch": "main", "commit": "2d8610a07033f2b367e71230ab128f8b89c2639d" }
}

View file

@ -1,6 +1,16 @@
return {
{
'nvim-telescope/telescope.nvim',
dependencies = { 'nvim-lua/plenary.nvim' }
dependencies = {
'nvim-lua/plenary.nvim',
'jonarrien/telescope-cmdline.nvim'
},
keys = {
{ ':', '<cmd>Telescope cmdline<cr>', desc = 'Cmdline' },
},
config = function(_, opts)
require("telescope").setup(opts)
require("telescope").load_extension('cmdline')
end
}
}