Skip to content

Commit

Permalink
switch to outline.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Jul 25, 2024
1 parent 94c925b commit 96f4b8b
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions lua/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
{ '<leader>lo', ':SymbolsOutline<cr>', desc = 'symbols outline' },
{ '<leader>lo', ':Outline<cr>', 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
Expand Down

0 comments on commit 96f4b8b

Please sign in to comment.