From a459ffd8135d27499a616f5405468a1b20677223 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 8 Dec 2024 13:06:41 +0100 Subject: misc stylua --- lua/plugins/core/nvim-tree.lua | 62 +++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'lua/plugins/core/nvim-tree.lua') diff --git a/lua/plugins/core/nvim-tree.lua b/lua/plugins/core/nvim-tree.lua index 36305d0..08efb3e 100644 --- a/lua/plugins/core/nvim-tree.lua +++ b/lua/plugins/core/nvim-tree.lua @@ -1,36 +1,36 @@ return { - { - "nvim-tree/nvim-tree.lua", - config = function() - require("nvim-tree").setup({ - sync_root_with_cwd = false, - update_focused_file = { - enable = true, - update_root = false, - }, - renderer = { - indent_markers = { enable = true }, - highlight_git = true, - highlight_opened_files = "all", - }, - }) - end, - dependencies = { "nvim-tree/nvim-web-devicons" }, - }, + { + "nvim-tree/nvim-tree.lua", + config = function() + require("nvim-tree").setup({ + sync_root_with_cwd = false, + update_focused_file = { + enable = true, + update_root = false, + }, + renderer = { + indent_markers = { enable = true }, + highlight_git = true, + highlight_opened_files = "all", + }, + }) + end, + dependencies = { "nvim-tree/nvim-web-devicons" }, + }, - -- Add nvim-tree which-key shortcuts - { - "folke/which-key.nvim", - opts = function(_, opts) - if type(opts) ~= "table" then - opts = {} - end + -- Add nvim-tree which-key shortcuts + { + "folke/which-key.nvim", + opts = function(_, opts) + if type(opts) ~= "table" then + opts = {} + end - if type(opts.f) ~= "table" then - opts["f"] = {} - end + if type(opts.f) ~= "table" then + opts["f"] = {} + end - opts.f["e"] = { "NvimTreeToggle", "Explorer" } - end, - }, + opts.f["e"] = { "NvimTreeToggle", "Explorer" } + end, + }, } -- cgit v1.2.3