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