init
This commit is contained in:
18
nvim/lua/plugins/extras/editor/telescope/headings.lua
Normal file
18
nvim/lua/plugins/extras/editor/telescope/headings.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
"crispgm/telescope-heading.nvim",
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
heading = {
|
||||
treesitter = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("heading")
|
||||
end)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>s#", "<cmd>Telescope heading<CR>", desc = "Headings" },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user