From 62f381589e09af5f6ac433cf4a33d54e57187677 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 16 Aug 2024 00:12:34 +0200 Subject: [PATCH] Update .config/nvim/lua/plugins/alpha.lua Update .config/nvim/lua/plugins/telescope.lua --- dot_config/nvim/lua/plugins/alpha.lua | 2 +- dot_config/nvim/lua/plugins/telescope.lua | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dot_config/nvim/lua/plugins/alpha.lua b/dot_config/nvim/lua/plugins/alpha.lua index 45ba169..268f3da 100644 --- a/dot_config/nvim/lua/plugins/alpha.lua +++ b/dot_config/nvim/lua/plugins/alpha.lua @@ -34,7 +34,7 @@ return { dashboard.section.buttons.val = { dashboard.button("e", " New file", ":ene startinsert "), dashboard.button("f", "󰈞 Find file", ":Telescope find_files "), - dashboard.button("p", " Open project", ":Telescope projects"), + dashboard.button("p", " Open project", ":Telescope project"), } alpha.setup(dashboard.opts) end diff --git a/dot_config/nvim/lua/plugins/telescope.lua b/dot_config/nvim/lua/plugins/telescope.lua index 6eb5edf..54b5f36 100644 --- a/dot_config/nvim/lua/plugins/telescope.lua +++ b/dot_config/nvim/lua/plugins/telescope.lua @@ -8,14 +8,14 @@ return { }, opts = {}, -- define config options here, or use a config() function config = function() - require('telescope').load_extension('projects') + require('telescope').load_extension('project') end, keys = { - { 'ff', function() require 'telescope.builtin'.find_files() end, desc = 'Find files', mode = 'n' }, - { 'fg', function() require('telescope.builtin').live_grep() end, desc = 'Live grep', mode = 'n' }, - { 'fb', function() require('telescope.builtin').buffers() end, desc = 'Buffers', mode = 'n' }, - { 'fh', function() require('telescope.builtin').help_tags() end, desc = 'Help tags', mode = 'n' }, - { 'fp', function() require('telescope').extensions.projects.projects {} end, desc = 'Projects', mode = 'n' }, - { 'fd', "Telescope diagnostics", desc = 'Diagnostics', mode = 'n' } + { 'ff', function() require 'telescope.builtin'.find_files() end, desc = 'Find files', mode = 'n' }, + { 'fg', function() require('telescope.builtin').live_grep() end, desc = 'Live grep', mode = 'n' }, + { 'fb', function() require('telescope.builtin').buffers() end, desc = 'Buffers', mode = 'n' }, + { 'fh', function() require('telescope.builtin').help_tags() end, desc = 'Help tags', mode = 'n' }, + { 'fp', function() require('telescope').extensions.project.project {} end, desc = 'Projects', mode = 'n' }, + { 'fd', "Telescope diagnostics", desc = 'Diagnostics', mode = 'n' } }, }