✨ feat(nvim): outline extra
symbols-outline fork with more features, still needs more testing
This commit is contained in:
parent
2902be65a5
commit
3e564a7164
1 changed files with 25 additions and 0 deletions
25
.config/nvim/lua/plugins/extras/editor/outline.lua
Normal file
25
.config/nvim/lua/plugins/extras/editor/outline.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
{
|
||||
"hedyhli/outline.nvim",
|
||||
cmd = { "Outline", "OutlineOpen" },
|
||||
keys = { { "<leader>cs", "<cmd>Outline<CR>", desc = "Symbols Outline" } },
|
||||
opts = {
|
||||
outline_window = {
|
||||
show_symbol_lineno = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/edgy.nvim",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
opts.right = opts.right or {}
|
||||
table.insert(opts.right, {
|
||||
title = "Symbols Outline",
|
||||
ft = "outline",
|
||||
pinned = true,
|
||||
open = "Outline",
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
Loading…
Add table
Reference in a new issue