From 5a1fb73ff3c8a52fe59d31c3fadd58d6f36e1999 Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Fri, 27 Jan 2023 14:56:03 -0800 Subject: Update telescope, set diagnostic keymap --- lua/user/keymaps.lua | 14 +++++++------- lua/user/plugins.lua | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'lua') diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index e921740..9e59a68 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -96,13 +96,13 @@ keymap("n", "g", ":set termguicolors!:TSToggle highlight", opts) -- LSP options - see lsp/handlers.lua -- Telescope options -keymap("n", "t", ":Telescope ", opts) -- ('t'elescope) -keymap("n", "tf", ":Telescope find_files", opts) -- ('f'ind_files) -keymap("n", "ts", ":Telescope live_grep", opts) -- ('s'tring) -keymap("n", "tb", ":Telescope buffers", opts) -- ('b'uffers) -keymap("n", "th", ":Telescope keymaps", opts) -- ('h'elp) ---keymap("n", "tld", ":Telescope lsp_document_diagnostics", opts) -- ('l'sp 'd'iagnostics) -keymap("n", "tt", ":Telescope treesitter", opts) -- ('t'reesitter) +keymap("n", "t", ":Telescope ", opts) -- ('t'elescope) +keymap("n", "tf", ":Telescope find_files", opts) -- ('f'ind_files) +keymap("n", "ts", ":Telescope live_grep", opts) -- ('s'tring) +keymap("n", "tb", ":Telescope buffers", opts) -- ('b'uffers) +keymap("n", "td", ":Telescope diagnostics", opts) -- ('d'iagnostics) +keymap("n", "th", ":Telescope keymaps", opts) -- ('h'elp) +keymap("n", "tt", ":Telescope treesitter", opts) -- ('t'reesitter) -- Workspace Options keymap("n", "wsh", ":split", opts) --Horizontal split workspace ('s'plit 'h'orizontal) diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index 03a5d2b..b970f2b 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -40,6 +40,6 @@ return packer.startup(function(use) use "nvim-treesitter/nvim-treesitter" --enable treesitter -- Telescope - use { "nvim-telescope/telescope.nvim", tag = '0.1.0' } + use { "nvim-telescope/telescope.nvim", tag = '0.1.1' } end) -- cgit