From 32746a3db720eff264c15c3815456b42658fb798 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Thu, 15 Aug 2024 00:20:21 +0200 Subject: [PATCH] Update .config/nvim/lua/plugins/telescope.lua --- dot_config/nvim/lua/plugins/telescope.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dot_config/nvim/lua/plugins/telescope.lua b/dot_config/nvim/lua/plugins/telescope.lua index 83d52e4..6eb5edf 100644 --- a/dot_config/nvim/lua/plugins/telescope.lua +++ b/dot_config/nvim/lua/plugins/telescope.lua @@ -11,10 +11,11 @@ return { require('telescope').load_extension('projects') end, keys = { - { 'ff', function() require 'telescope.builtin'.find_files() end, mode = 'n' }, - { 'fg', function() require('telescope.builtin').live_grep() end, mode = 'n' }, - { 'fb', function() require('telescope.builtin').buffers() end, mode = 'n' }, - { 'fh', function() require('telescope.builtin').help_tags() end, mode = 'n' }, - { 'fp', function() require('telescope').extensions.projects.projects {} end, 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.projects.projects {} end, desc = 'Projects', mode = 'n' }, + { 'fd', "Telescope diagnostics", desc = 'Diagnostics', mode = 'n' } }, }