kiyan
9a02dedd92
fix(renderer): indent markers with arrows
...
breaking: glyphs for indent markers should only be one block large
2022-07-15 09:33:40 +02:00
kiyan
19425c5896
refactor(renderer): extract bools into variables
2022-07-14 19:07:12 +02:00
kiyan
8632ac2739
fix(renderer): indent markers + folder arrows should offset
...
fixes #1421
2022-07-14 19:04:01 +02:00
kiyan
80dc86e874
refactor(actions): use vim.keymap.set/del
2022-07-14 09:57:37 +02:00
kiyan
7087af83f3
fix(keypress): use <cmd> instead of : to avoid triggering CmdLineEnter
...
fixes #1417
2022-07-14 09:33:19 +02:00
kiyan
0f96e32326
fix(actions): dispatching filter should not match for "live" keyword
...
fixes #1420
2022-07-12 10:16:01 +02:00
kiyan
6a49a0301f
refactor(marks): fix offset line and move into init.lua
...
also set node in marks record instead of true
2022-07-12 09:34:26 +02:00
kiyan
078a9e5bf9
chore: move focus_file to utils
2022-07-11 16:55:33 +02:00
Kiyan
df92f1527f
feat(bookmarks): add bookmark feature ( #1412 )
2022-07-11 10:00:12 +02:00
kiyan
0fa2ec1950
fix(actions): create file should defer more to focus
2022-07-11 09:49:10 +02:00
kiyan
ad1f3ef3bc
feat(renderer): show symlink folder destination
...
fixes https://github.com/kyazdani42/nvim-tree.lua/issues/980
2022-07-10 10:47:51 +02:00
kiyan
8d0c93db4a
refactor(collapse-all): extract buffer matching logic
2022-07-10 10:03:48 +02:00
kiyan
2d2cbe63f4
refactor(actions): split movements into multiple modules
2022-07-10 09:53:58 +02:00
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
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
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
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
kiyan
bdb6d4a254
fix(actions): reloading copy-paste logic inverted
...
fixes #1331
2022-06-11 11:22:45 +02:00