add outline

This commit is contained in:
Robert Altner 2025-01-23 10:23:56 +01:00
parent 06c0967548
commit 445f30a0fc
No known key found for this signature in database
GPG key ID: 58794C52DAF9EAD8
3 changed files with 25 additions and 10 deletions

View file

@ -11,7 +11,7 @@ map("n", "<F3>", ":NvimTreeFindFileToggle<CR>")
map("n", "<F4>", ":Buffers<CR>")
map("n", "<F2>", ":TagbarToggle<CR>")
map("n", "<F2>", ":Outline<CR>")
map("n", "<leader>e", ":CocList diagnostics<CR>")
map("n", "<C-P>", ":Telescope find_files<cr>")

View file

@ -53,13 +53,13 @@ return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate"
},
{
"glacambre/firenvim",
lazy = not vim.g.started_by_firenvim,
build = function()
vim.fn["firenvim#install"](0)
end
},
-- {
-- "glacambre/firenvim",
-- lazy = not vim.g.started_by_firenvim,
-- build = function()
-- vim.fn["firenvim#install"](0)
-- end
-- },
{
"lewis6991/gitsigns.nvim",
config = function()
@ -116,5 +116,16 @@ return {
{
"folke/todo-comments.nvim",
opts = {}
}
},
{
"hedyhli/outline.nvim",
lazy = true,
cmd = { "Outline" },
opts = {
preview_window = {
auto_preview = true,
auto_close = true
}
}
},
}