Kiyan
831f1158c3
refactor(actions): move actions into semantic modules ( #1410 )
2022-07-10 09:47:52 +02:00
kiyan
90bf14014e
fix(file rename): edit buffer when renaming to reset filetype
...
fixes https://github.com/kyazdani42/nvim-tree.lua/issues/1404
2022-07-10 09:39:11 +02:00
Alexander Courtis
fd562ede63
fix( #1406 ): allow nvim-tree.renderer.icons.show.folder_arrow
...
* fix(#1406 ): allow nvim-tree.renderer.icons.show.folder_arrow when not folder
* fix(#1406 ): allow nvim-tree.renderer.icons.show.folder_arrow when indent markers enabled
* fix(builder): highlight first iteration for arrow column
* fix stylua
Co-authored-by: kiyan <yazdani.kiyan@protonmail.com >
2022-07-10 12:14:18 +10:00
kiyan
95c57e034a
fix(dispatch): dispatch help toggle when its not shown
...
fixes #1411
2022-07-09 14:42:14 +02:00
kiyan
c037c7ae84
refactor(change-dir): add profile from higher order function
2022-07-09 12:14:41 +02:00
kiyan
1e7019f91e
refactor(dispatch): cleanup dispatch logic
2022-07-09 12:09:51 +02:00
kiyan
63831d5179
refactor(actions): move on_keypress to dispatch module
2022-07-09 11:43:58 +02:00
Alexander Courtis
b81ab199a5
fix(help): clear git signs before draw
2022-07-09 11:44:39 +10:00
Alexander Courtis
d0ca2dab00
stylua 0.14.0
2022-07-09 11:26:55 +10:00
kiyan
4bd919a75f
fix(get-node-from-path): group dirs should be returned before nodes
2022-07-06 14:00:43 +02:00
kiyan
9d3602e8ea
fix(find-file): do not recurse on closed nodes
2022-07-06 13:52:36 +02:00
kiyan
c84735483f
feat: add on_tree_resize event
2022-07-06 13:35:29 +02:00
kiyan
eb6dde4733
fix(change-dir): cd command concatenation
2022-07-06 09:06:29 +02:00
Edwar Martinez Vale
418fc971fc
fix(iterators): the index does not increase ( #1399 )
2022-07-06 01:07:36 +02:00
Rammiah
269820e800
fix(actions): change_dir to wrong directory ( #1398 )
2022-07-05 19:29:15 +02:00
Toby O'Sullivan
38fabe86cb
Optionally suppress the symlink destination ( #1396 )
2022-07-05 10:05:21 +02:00
Kiyan
f43b8af8f4
chore(iterators): create Iterator module and migrate iterators to use it ( #1392 )
2022-07-04 14:13:14 +02:00
kiyan
70bdf496ea
chore: remove quit_on_open from view and use abandon current window
2022-07-04 14:12:56 +02:00
Grzegorz Rozdzialik
40e515df87
fix(view): do not close window when NvimTree buffer is replaced ( #1391 )
2022-07-04 14:11:42 +02:00
kiyan
28c4bb01f6
fix: close view before hijacking current window
2022-07-04 10:17:06 +02:00
kiyan
19dcacf06e
chore: cleanup change dir module
2022-07-03 12:41:13 +02:00
Alexander Courtis
736cc843e1
feat( #1389 ): add git.show_on_dirs ( #1390 )
2022-07-03 11:57:12 +02:00
Alexander Courtis
80d4f28383
feat( #1245 ): add next_diag_item and prev_diag_item actions
2022-07-03 16:04:49 +10:00
Krasimir Zahariev
21516f447b
feat(actions): expand_all 'exclude' option ( #1388 )
2022-07-02 18:17:39 +02:00
kiyan
cbbc799e6c
fix(trash): do not run trash command when trash is not executable
2022-07-02 12:08:46 +02:00
Rammiah
ec09b80c7b
fix(actions): close_node doesn't close for grouped node ( #1385 )
2022-07-01 15:49:31 +02:00
Alexander Courtis
72858986f9
fix( #1366 ): warn when trash cmd missing ( #1378 )
2022-06-28 18:29:42 +02:00
Alexander Courtis
e401a4c957
feat(watcher): debounce FS watchers
2022-06-28 11:18:22 +10:00
Alexander Courtis
7a795d78fa
feat(watcher): partial git refresh ( #1373 )
2022-06-27 11:12:28 +10:00
Kiyan
e6c1b4cd5b
chore(setup): make setup idempotent ( #1340 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-06-26 12:14:03 +02:00
Alexander Courtis
0c13bd76a8
chore: update_root, sync_root_with_cwd, refactor with move_missing_val ( #1359 )
...
* chore: opts.update_focused_file.update_cwd -> update_root
* chore: opts.update_cwd -> sync_root_with_cwd
* chore: refactor options with utils move_missing_val
* chore: refactor options with utils move_missing_val
* chore: refactor options with utils move_missing_val
* chore: refactor options with utils move_missing_val
* chore: refactor options with utils move_missing_val
* chore: refactor options with utils move_missing_val
2022-06-26 12:18:14 +10:00
lixvbnet
b299a877ad
fix ( #1363 ): use change_dir.fn instead of lib.open in M.change_root
2022-06-25 14:14:08 +10:00
litao91
79258f1d67
fix: window picker can't be correctly rendered when cmdheight = 0 ( #1349 )
...
Co-authored-by: litao <litao912002@hotmail.com >
2022-06-20 08:29:47 +02:00
Alexander Courtis
6548287e8b
feat: add cwd arg to open_replacing_current_buffer: retain existing valid buffer check
2022-06-20 09:52:56 +10:00
kiyan
3bc2207f4a
chore: simplify get_alt_or_next_buf
2022-06-19 09:51:40 +02:00
Alexander Courtis
d9aaa2f985
fix( #1356 ): view.close switch_buf_if_last_buf prefers alt buf ( #1357 )
2022-06-19 09:51:01 +02:00
javiertury
6b7b1b34fa
feat: add cwd arg to open_replacing_current_buffer ( #1348 )
2022-06-19 13:59:35 +10:00
Alexander Courtis
1fc0eee946
fix( #1354 ): add missing :hi NvimTreeFileIgnored ( #1358 )
2022-06-18 10:42:12 +02:00
btstream
e82a921baa
fix(view): prevent buffer override when actions.open_file.quit_on_open
...
* fix(view): prevent open buffer on NvimTree window when actions.open_file.quit_on_open is true
* fix(view): add view.quit_on_open function to prevent open on NvimTree window
Co-authored-by: btstream <btstream@gmail.com >
2022-06-18 17:07:24 +10:00
lixvbnet
b08003f546
feat: add NvimTreeFindFile!, root_dirs and prefer_startup_root
2022-06-18 15:32:56 +10:00
kiyan
bdb6d4a254
fix(actions): reloading copy-paste logic inverted
...
fixes #1331
2022-06-11 11:22:45 +02:00
kylo252
1caca62854
feat(view): ability to centralize view on entering ( #1310 )
2022-06-07 10:09:58 +10:00
lu5je0
821f050fda
feat: full-name of node in floating window ( #1305 )
2022-06-06 11:15:03 +02:00
Raafat Turki
3c936c7cb6
feat(trash): default command 'trash' -> 'gio trash' ( #1323 )
2022-06-06 11:13:37 +02:00
Alexander Courtis
f6eef4a1f0
feat(explorer): add filesystem watchers: reinstate git output logging
2022-06-06 11:19:55 +10:00
Rammiah
6f6eab14dc
feat(renderer): indent_markers add a item icon ( #1321 )
2022-06-05 14:19:19 +02:00
Kiyan
b0d27c09b6
feat(explorer): add filesystem watchers ( #1304 )
...
* feat(explorer): add experimental watchers
This commit introduces watchers to update the tree.
This behavior is introduced behind an "filesystem_watchers" option
which should prevent instabilities.
It will become the default at some point.
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-06-05 12:39:39 +02:00
kiyan
25921aa87a
fix(open-file): do not open file when target winid is nil
2022-06-04 14:06:35 +02:00
kiyan
92ed3c487a
fix(view): call get size after setting the height
...
fixes bottom and top placement for the tree
fixes #1311
2022-06-04 11:56:03 +02:00
kiyan
a0f705995a
fix(view): grow condition for left or right was always true for right
2022-05-31 20:25:13 +02:00