feat: include telescope.nvim

This commit is contained in:
2026-03-08 18:19:10 -04:00
parent 1b771db0c8
commit 869785d1c5
+13 -1
View File
@@ -32,9 +32,21 @@ vim.pack.add({
"https://github.com/windwp/nvim-autopairs", "https://github.com/windwp/nvim-autopairs",
"https://github.com/lukas-reineke/lsp-format.nvim", "https://github.com/lukas-reineke/lsp-format.nvim",
"https://github.com/nvimtools/none-ls.nvim", "https://github.com/nvimtools/none-ls.nvim",
"https://github.com/nvim-lua/plenary.nvim" "https://github.com/nvim-lua/plenary.nvim",
"https://github.com/nvim-telescope/telescope.nvim",
}) })
local telescope = require("telescope.builtin")
vim.keymap.set("n", "<leader>b", telescope.buffers, {})
vim.keymap.set("n", "<leader>f", telescope.find_files, {})
vim.keymap.set("n", "<leader>t", telescope.live_grep, {})
vim.keymap.set("n", "<leader>m", function()
telescope.man_pages({
sections = {"2", "3", "4", "5"},
})
end, {})
require("nvim-autopairs").setup({}) require("nvim-autopairs").setup({})
require("null-ls").setup({ on_attach = require("lsp-format").on_attach }) require("null-ls").setup({ on_attach = require("lsp-format").on_attach })
require("lsp-format").setup({}) require("lsp-format").setup({})