diff options
author | Christian Segundo | 2024-12-08 13:06:41 +0100 |
---|---|---|
committer | Christian Segundo | 2024-12-08 13:06:41 +0100 |
commit | a459ffd8135d27499a616f5405468a1b20677223 (patch) | |
tree | 4a40f775e8f758d1c32636deb0b593de1ea14de4 /lua/plugins/core/nvim-tree.lua | |
parent | b0a97cff0312d0634442147bbe4a8c63c9e81e3d (diff) | |
download | config-a459ffd8135d27499a616f5405468a1b20677223.tar.gz |
misc stylua
Diffstat (limited to 'lua/plugins/core/nvim-tree.lua')
-rw-r--r-- | lua/plugins/core/nvim-tree.lua | 62 |
1 files changed, 31 insertions, 31 deletions
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"] = { "<cmd>NvimTreeToggle<cr>", "Explorer" } - end, - }, + opts.f["e"] = { "<cmd>NvimTreeToggle<cr>", "Explorer" } + end, + }, } |