From 3e564a7164047e620abcd8c680bf30243e537109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 16 Nov 2023 02:20:19 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(nvim):=20outline=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit symbols-outline fork with more features, still needs more testing --- .../lua/plugins/extras/editor/outline.lua | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .config/nvim/lua/plugins/extras/editor/outline.lua 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, + }, +}