aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/outline.lua
blob: cecd7b3929db234a4d19f1c91218a70ec1d82c04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
return {
    -- {
    --     'majutsushi/tagbar',
    --     init = function()
    --         vim.keymap.set('n', '<leader>to', vim.cmd.TagbarToggle, {desc = 'Toggle outline (tagbar)'})
    --     end
    -- }
    {
        "hedyhli/outline.nvim",
        dependencies = {
            'epheien/outline-treesitter-provider.nvim',
            'epheien/outline-ctags-provider.nvim'
        },
        opts = {
            providers = {
                priority = {'lsp', 'ctags', 'treesitter'}
            }
        },
        init = function()
            vim.keymap.set('n', '<leader>to', vim.cmd.Outline, {desc = 'Toggle outline (outline)'})
        end
    }
}