diff options
Diffstat (limited to 'nvim/lua/plugins/ui.lua')
| -rw-r--r-- | nvim/lua/plugins/ui.lua | 48 |
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 | { |
