Fix Telescope config issues
This commit is contained in:
parent
7ed76583a0
commit
fe9236314a
@ -207,14 +207,12 @@ local function manage_plugins()
|
||||
},
|
||||
|
||||
-- LSP alternative
|
||||
["https://github.com/preservim/tagbar.git" ] = {
|
||||
packadd_hook = function()
|
||||
vim.api.nvim_set_keymap('n', '<leader>t', ":TagbarToggle<cr>", {})
|
||||
end
|
||||
},
|
||||
["https://github.com/nvim-lua/plenary.nvim.git"] = {},
|
||||
["https://github.com/ludovicchabant/vim-gutentags.git"] = {},
|
||||
["https://github.com/nvim-telescope/telescope.nvim.git"] = {
|
||||
packadd_after = {
|
||||
["https://github.com/nvim-lua/plenary.nvim.git"] = true,
|
||||
["https://github.com/ludovicchabant/vim-gutentags.git"] = true,
|
||||
},
|
||||
packadd_hook = function()
|
||||
require("telescope").setup{
|
||||
@ -251,7 +249,7 @@ local function manage_plugins()
|
||||
vim.api.nvim_set_keymap('n', 'tf', ":Telescope find_files<cr>", {})
|
||||
vim.api.nvim_set_keymap('n', 'tg', ":Telescope live_grep<cr>", {})
|
||||
vim.api.nvim_set_keymap('n', 'ts', ":Telescope grep_string<cr>", {})
|
||||
vim.api.nvim_set_keymap('n', 'tt', ":Telescope tags<cr>", {})
|
||||
vim.api.nvim_set_keymap('n', 'tt', ":Telescope current_buffer_tags<cr>", {})
|
||||
vim.api.nvim_set_keymap('n', 'tc', ":Telescope git_commits<cr>", {})
|
||||
vim.api.nvim_set_keymap('n', 'ta', ":Telescope git_status<cr>", {})
|
||||
vim.api.nvim_set_keymap('n', 'td', ":Telescope lsp_definitions<cr>", {})
|
||||
@ -270,7 +268,6 @@ local function manage_plugins()
|
||||
vim.cmd('set signcolumn=number')
|
||||
end
|
||||
},
|
||||
["https://github.com/nvim-lua/plenary.nvim.git"] = {},
|
||||
["https://github.com/sindrets/diffview.nvim.git"] = {
|
||||
packadd_after = { ["https://github.com/nvim-lua/plenary.nvim.git"] = true },
|
||||
packadd_hook = function()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user