diff options
author | Louie Shprung <lshprung@scu.edu> | 2023-01-27 14:56:03 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2023-01-27 14:56:03 -0800 |
commit | 5a1fb73ff3c8a52fe59d31c3fadd58d6f36e1999 (patch) | |
tree | a78443f98691a93c0d0d434e07610250520050a9 | |
parent | 7eece497b5c85df3380744e9e9b89baafd836a4f (diff) |
Update telescope, set diagnostic keymap
-rw-r--r-- | lua/user/keymaps.lua | 14 | ||||
-rw-r--r-- | lua/user/plugins.lua | 2 |
2 files changed, 8 insertions, 8 deletions
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", "<leader>g", ":set termguicolors!<CR>:TSToggle highlight<CR>", opts) -- LSP options - see lsp/handlers.lua -- Telescope options -keymap("n", "<leader>t<CR>", ":Telescope <CR>", opts) -- ('t'elescope) -keymap("n", "<leader>tf", ":Telescope find_files<CR>", opts) -- ('f'ind_files) -keymap("n", "<leader>ts", ":Telescope live_grep<CR>", opts) -- ('s'tring) -keymap("n", "<leader>tb", ":Telescope buffers<CR>", opts) -- ('b'uffers) -keymap("n", "<leader>th", ":Telescope keymaps<CR>", opts) -- ('h'elp) ---keymap("n", "<leader>tld", ":Telescope lsp_document_diagnostics<CR>", opts) -- ('l'sp 'd'iagnostics) -keymap("n", "<leader>tt", ":Telescope treesitter<CR>", opts) -- ('t'reesitter) +keymap("n", "<leader>t<CR>", ":Telescope <CR>", opts) -- ('t'elescope) +keymap("n", "<leader>tf", ":Telescope find_files<CR>", opts) -- ('f'ind_files) +keymap("n", "<leader>ts", ":Telescope live_grep<CR>", opts) -- ('s'tring) +keymap("n", "<leader>tb", ":Telescope buffers<CR>", opts) -- ('b'uffers) +keymap("n", "<leader>td", ":Telescope diagnostics<CR>", opts) -- ('d'iagnostics) +keymap("n", "<leader>th", ":Telescope keymaps<CR>", opts) -- ('h'elp) +keymap("n", "<leader>tt", ":Telescope treesitter<CR>", opts) -- ('t'reesitter) -- Workspace Options keymap("n", "<leader>wsh", ":split<CR>", 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) |