diff --git a/.config/nvim/lua/plugins/extras/editor/outline.lua b/.config/nvim/lua/plugins/extras/editor/outline.lua new file mode 100644 index 00000000..f8dbf931 --- /dev/null +++ b/.config/nvim/lua/plugins/extras/editor/outline.lua @@ -0,0 +1,25 @@ +return { + { + "hedyhli/outline.nvim", + cmd = { "Outline", "OutlineOpen" }, + keys = { { "cs", "Outline", 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, + }, +}