From 96f4b8b6f50c8a2ababc35f370e8356522e9c52a Mon Sep 17 00:00:00 2001 From: Jannik Buhr Date: Thu, 25 Jul 2024 12:35:30 +0200 Subject: [PATCH] switch to outline.nvim --- lua/plugins/ui.lua | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index 0c3bd91..0c633e4 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -246,12 +246,25 @@ return { }, { -- show tree of symbols in the current file - 'simrat39/symbols-outline.nvim', - cmd = 'SymbolsOutline', + 'hedyhli/outline.nvim', + cmd = 'Outline', keys = { - { 'lo', ':SymbolsOutline', desc = 'symbols outline' }, + { 'lo', ':Outline', desc = 'symbols outline' }, + }, + opts = { + providers = { + priority = { 'markdown', 'lsp', 'norg' }, + -- Configuration for each provider (3rd party providers are supported) + lsp = { + -- Lsp client names to ignore + blacklist_clients = {}, + }, + markdown = { + -- List of supported ft's to use the markdown provider + filetypes = { 'markdown', 'quarto' }, + }, + }, }, - opts = {}, }, { -- or show symbols in the current file as breadcrumbs