feat(nvim): add Symbol plugin for Telescope

This commit is contained in:
Stefan Imhoff
2022-10-01 15:55:32 +02:00
parent 9573b4bd0d
commit 9e7c76bf1d
2 changed files with 2 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ keymap("n", "<leader>mru", [[<Cmd>Telescope frecency<CR>]], opts)
keymap("n", "<leader>nm", [[<Cmd>Telescope node_modules list<CR>]], opts) keymap("n", "<leader>nm", [[<Cmd>Telescope node_modules list<CR>]], opts)
keymap("n", "<leader>r", [[<Cmd>Telescope resume<CR>]], opts) keymap("n", "<leader>r", [[<Cmd>Telescope resume<CR>]], opts)
keymap("n", "<leader>tg", [[<Cmd>Telescope tags<CR>]], opts) keymap("n", "<leader>tg", [[<Cmd>Telescope tags<CR>]], opts)
keymap("n", "<leader>ty", [[<Cmd>Telescope symbols<CR>]], opts)
-- Setup -- Setup
telescope.setup({ telescope.setup({

View File

@@ -95,6 +95,7 @@ return packer.startup(function(use)
use({ "nvim-telescope/telescope-fzf-native.nvim", run = "make" }) use({ "nvim-telescope/telescope-fzf-native.nvim", run = "make" })
use({ "nvim-telescope/telescope-frecency.nvim", requires = { "tami5/sqlite.lua" } }) -- Frequency and recency use({ "nvim-telescope/telescope-frecency.nvim", requires = { "tami5/sqlite.lua" } }) -- Frequency and recency
use("nvim-telescope/telescope-github.nvim") -- GitHub CLI use("nvim-telescope/telescope-github.nvim") -- GitHub CLI
use("nvim-telescope/telescope-symbols.nvim") -- Symbols
-- Treesitter -- Treesitter
use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }) use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" })