diff --git a/lazy-lock.json b/lazy-lock.json index 3c24758..8950109 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -42,6 +42,7 @@ "nvim-web-devicons": { "branch": "master", "commit": "ade34ca7d19543904b28b903e606be8930fb9ee3" }, "plenary.nvim": { "branch": "master", "commit": "9d81624fbcedd3dd43b38d7e13a1e7b3f873d8cd" }, "smart-splits.nvim": { "branch": "master", "commit": "fdd158ce7554dc830fb86e0fe952cd9476cdf726" }, + "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, "telescope.nvim": { "branch": "master", "commit": "203bf5609137600d73e8ed82703d6b0e320a5f36" }, "todo-comments.nvim": { "branch": "main", "commit": "077c59586d9d0726b0696dc5680eb863f4e04bc5" }, "toggleterm.nvim": { "branch": "main", "commit": "2a787c426ef00cb3488c11b14f5dcf892bbd0bda" }, diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index a194e06..109aa01 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -187,4 +187,13 @@ return { -- { "", function() if not require("noice.lsp").scroll(-4) then return "" end end, silent = true, expr = true, desc = "Scroll backward", mode = {"i", "n", "s"}}, -- }, -- }, + + -- simbol outline + { + "simrat39/symbols-outline.nvim", + event = "BufRead", + config = function() + require("symbols-outline").setup() + end, + }, } diff --git a/lua/user/whichkey.lua b/lua/user/whichkey.lua index 9614edb..d15e618 100644 --- a/lua/user/whichkey.lua +++ b/lua/user/whichkey.lua @@ -392,6 +392,7 @@ local mappings = { l = { "Lazy log", "Log" }, d = { "Lazy debug", "Debug" }, }, + ["o"] = { "SymbolsOutline", "Symbol Outline" }, } which_key.setup(setup)