From e2b4f2145a6e82129a9599507b54f515f7e21c79 Mon Sep 17 00:00:00 2001 From: Ale Date: Sat, 22 Jun 2024 22:01:40 +0200 Subject: [PATCH] updated telescope config --- nvim/init.lua | 1 - nvim/lazy-lock.json | 2 +- nvim/lua/plugins/telescope.lua | 12 +++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 12c6998..d7456f7 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -32,4 +32,3 @@ vim.wo.number = true vim.opt.fillchars = { vert = " " } -vim.opt.confirm = true diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index a0f484f..8f97650 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -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" } } \ No newline at end of file diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua index 42f52c4..bcb3072 100644 --- a/nvim/lua/plugins/telescope.lua +++ b/nvim/lua/plugins/telescope.lua @@ -1,6 +1,16 @@ return { { 'nvim-telescope/telescope.nvim', - dependencies = { 'nvim-lua/plenary.nvim' } + dependencies = { + 'nvim-lua/plenary.nvim', + 'jonarrien/telescope-cmdline.nvim' + }, + keys = { + { ':', 'Telescope cmdline', desc = 'Cmdline' }, + }, + config = function(_, opts) + require("telescope").setup(opts) + require("telescope").load_extension('cmdline') + end } }