Commit 1701e41
authored
* chore: moving root action dir-up to explorer class
* chore(explorer): moving requires to top level
* wip(explorer): moved all change-dir functions to explorer class
* wip(explorer): rename M.current_tab to self.current_tab
* chore(explorer): move change_dir root action to explorer and replace all places using change_dir to use it from explorer
* refactor(explorer): changing _foldername to folder_name
* wip(explorer): rename expand method to expand_dir_node and all places using it
* wip(explorer): mark private methods and remove add_profiling_to method
* fix: allow changing root to file`s parent directory and fix restrict_above_cwd config path
* refactor(api): moving change_root_to_node to Explorer:change_dir_to_node
* fix(explorer): get new explorer before redrawing on <C-]>
* docs(explorer): adding link to PR discussion for more context
* fix(explorer): correctly check config.actions.change_dir for change_dir related methods
* fix: correctly pass explorer as first arg when calling explorer methods in lua/nvim-tree
* fix: correctly pass args to change_dir
* fix: check for explorer before force_dirchange in open_on_directory
* fix: check if force_dirchange should call core.init
1 parent 5757bcf commit 1701e41
File tree
10 files changed
+159
-160
lines changed- lua
- nvim-tree
- actions
- finders
- root
- tree/modifiers
- explorer
- node
10 files changed
+159
-160
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
14 | 25 | | |
15 | 26 | | |
16 | 27 | | |
| |||
47 | 58 | | |
48 | 59 | | |
49 | 60 | | |
50 | | - | |
| 61 | + | |
51 | 62 | | |
52 | 63 | | |
53 | 64 | | |
| |||
58 | 69 | | |
59 | 70 | | |
60 | 71 | | |
61 | | - | |
| 72 | + | |
62 | 73 | | |
63 | 74 | | |
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
68 | | - | |
| 79 | + | |
69 | 80 | | |
70 | 81 | | |
71 | 82 | | |
72 | 83 | | |
73 | | - | |
| 84 | + | |
74 | 85 | | |
75 | 86 | | |
76 | 87 | | |
| |||
110 | 121 | | |
111 | 122 | | |
112 | 123 | | |
113 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
114 | 131 | | |
115 | 132 | | |
116 | 133 | | |
| |||
134 | 151 | | |
135 | 152 | | |
136 | 153 | | |
137 | | - | |
| 154 | + | |
138 | 155 | | |
139 | 156 | | |
140 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 160 | + | |
178 | 161 | | |
179 | 162 | | |
180 | 163 | | |
| |||
281 | 264 | | |
282 | 265 | | |
283 | 266 | | |
284 | | - | |
| 267 | + | |
285 | 268 | | |
286 | 269 | | |
287 | 270 | | |
| |||
0 commit comments