diff options
-rw-r--r-- | .config/nvim/lua/plugins/nvim-tree.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.config/nvim/lua/plugins/nvim-tree.lua b/.config/nvim/lua/plugins/nvim-tree.lua index a2d4532..422a402 100644 --- a/.config/nvim/lua/plugins/nvim-tree.lua +++ b/.config/nvim/lua/plugins/nvim-tree.lua | |||
@@ -6,9 +6,11 @@ return { | |||
6 | "nvim-tree/nvim-web-devicons", | 6 | "nvim-tree/nvim-web-devicons", |
7 | }, | 7 | }, |
8 | opts = { | 8 | opts = { |
9 | sort_by = "case_sensitive", | 9 | sort = { |
10 | sorter = "case_sensitive" | ||
11 | }, | ||
10 | diagnostics = { | 12 | diagnostics = { |
11 | enable = false, | 13 | enable = true, |
12 | icons = { | 14 | icons = { |
13 | hint = "❔", | 15 | hint = "❔", |
14 | info = "❕", | 16 | info = "❕", |
@@ -16,9 +18,6 @@ return { | |||
16 | error = "❌", | 18 | error = "❌", |
17 | } | 19 | } |
18 | }, | 20 | }, |
19 | view = { | ||
20 | adaptive_size = true, | ||
21 | }, | ||
22 | renderer = { | 21 | renderer = { |
23 | group_empty = true, | 22 | group_empty = true, |
24 | }, | 23 | }, |
@@ -34,7 +33,7 @@ return { | |||
34 | 33 | ||
35 | map("n", "vt", "<cmd>NvimTreeToggle<cr>") | 34 | map("n", "vt", "<cmd>NvimTreeToggle<cr>") |
36 | map("n", "vr", "<cmd>NvimTreeRefresh<cr>") | 35 | map("n", "vr", "<cmd>NvimTreeRefresh<cr>") |
37 | map("n", "vs", "<cmd>NvimTreeFindFile<cr>") | 36 | map("n", "vs", "<cmd>NvimTreeFindFile!<cr>") |
38 | end, | 37 | end, |
39 | }, | 38 | }, |
40 | } | 39 | } |