aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/ui.lua
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-06-29 11:02:39 +0200
committerThomas Schmucker <ts@its1.de>2026-06-29 11:02:39 +0200
commitffb269393ceabc3b8afb6198588f5225b7d6560b (patch)
tree64e0daffaa336db810390e4d14acd944b1d03b64 /nvim/lua/plugins/ui.lua
parent5a0555bc9d7f52d240d7ab82c77b516245119bc0 (diff)
downloaddotfiles-ffb269393ceabc3b8afb6198588f5225b7d6560b.tar.gz
dotfiles-ffb269393ceabc3b8afb6198588f5225b7d6560b.tar.bz2
dotfiles-ffb269393ceabc3b8afb6198588f5225b7d6560b.zip
lazy.nvim: config() und Optionen getrennt
Diffstat (limited to 'nvim/lua/plugins/ui.lua')
-rw-r--r--nvim/lua/plugins/ui.lua48
1 files changed, 23 insertions, 25 deletions
diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua
index cad8dfb..9ee68de 100644
--- a/nvim/lua/plugins/ui.lua
+++ b/nvim/lua/plugins/ui.lua
@@ -29,33 +29,31 @@ return {
29 keys = { 29 keys = {
30 { "<leader>e", "<cmd>NvimTreeToggle<cr>", desc = "Explorer toggle" }, 30 { "<leader>e", "<cmd>NvimTreeToggle<cr>", desc = "Explorer toggle" },
31 }, 31 },
32 config = function() 32 opts = {
33 require("nvim-tree").setup({ 33 update_focused_file = {
34 update_focused_file = { 34 enable = true,
35 enable = true, 35 update_root = false,
36 update_root = false, 36 ignore_list = {},
37 ignore_list = {}, 37 },
38 }, 38 view = {
39 view = { 39 width = 40,
40 width = 30, 40 cursorline = true,
41 cursorline = true, 41 },
42 }, 42 renderer = {
43 renderer = { 43 highlight_opened_files = "all",
44 highlight_opened_files = "all", 44 highlight_git = true,
45 highlight_git = true, 45 icons = {
46 icons = { 46 show = {
47 show = { 47 file = true,
48 file = true, 48 folder = true,
49 folder = true, 49 git = true,
50 git = true,
51 },
52 }, 50 },
53 }, 51 },
54 filters = { 52 },
55 dotfiles = false, 53 filters = {
56 }, 54 dotfiles = false,
57 }) 55 },
58 end, 56 },
59 }, 57 },
60 58
61 { 59 {