diff --git a/lazy-lock.json b/lazy-lock.json index 6f2f31e..bb30595 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -13,6 +13,7 @@ "mason-lspconfig.nvim": { "branch": "main", "commit": "0954d7730e749d606ddf8d7ae8846848be435d53" }, "mason-null-ls.nvim": { "branch": "main", "commit": "a1e19bf9baa86e8a43dd86cf9689ca9f71b4d1da" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, + "neo-tree-diagnostics.nvim": { "branch": "main", "commit": "483019d251c31acd14102bc279f938f98d9a3de6" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "f3941c57ec85d7bdb44fa53fd858fd80f159018f" }, "none-ls.nvim": { "branch": "main", "commit": "c10b7be7751aee820a02f2d1fafe76bc316fe223" }, "nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" }, diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua index ea3e5c2..2e9cddd 100644 --- a/lua/plugins/neo-tree.lua +++ b/lua/plugins/neo-tree.lua @@ -6,9 +6,16 @@ return { "nvim-tree/nvim-web-devicons", "MunifTanjim/nui.nvim", -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information + "mrbjarksen/neo-tree-diagnostics.nvim", }, lazy = false, opts = { + sources = { + "filesystem", + "buffers", + "git_status", + "diagnostics", + }, filesystem = { filtered_items = { visible = true, @@ -31,9 +38,16 @@ return { window = { position = "right", width = 30, + auto_expand_width = true, }, source_selector = { winbar = true, + sources = { + { source = "filesystem" }, + { source = "buffers" }, + { source = "git_status" }, + { source = "diagnostics"}, + }, }, }, keys = { @@ -41,5 +55,6 @@ return { { "f", "Neotree filesystem focus", "Focus filesystem in Neotree" }, { "b", "Neotree buffers focus", "Focus buffers in Neotree" }, { "g", "Neotree git_status focus", "Focus git status in Neotree" }, + { "b", "Neotree diagnostics focus", "Focus diagnostics in Neotree" }, }, }