kiyan
21fadc1f38
chore: move nvim-tree.utils.warn -> notify.warn
...
add notify.error and notify.info
2022-07-18 13:46:11 +02:00
kiyan
ec530e73be
fix(wipe): wipe all nvim-tree rogue buffers
...
also prevent find_file if bufnr is not valid
fixes #1438
2022-07-18 13:29:56 +02:00
Alexander Courtis
16753d5e25
doc: add help hint to invalid config warning
2022-07-18 10:13:16 +10:00
Alexander Courtis
06e48c29c4
chore(watchers): refactor events and make debouncer safe
...
- fs poll -> fs events
- make debouncer safe and fix diagnostics events
2022-07-17 08:50:24 +02:00
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
ii14
c231933fcd
feat: add -bar option to command definitions ( #1422 )
...
Co-authored-by: ii14 <ii14@users.noreply.github.com >
2022-07-14 09:17:30 +02:00
Kiyan
df92f1527f
feat(bookmarks): add bookmark feature ( #1412 )
2022-07-11 10:00:12 +02:00
Kiyan
831f1158c3
refactor(actions): move actions into semantic modules ( #1410 )
2022-07-10 09:47:52 +02:00
kiyan
63831d5179
refactor(actions): move on_keypress to dispatch module
2022-07-09 11:43:58 +02:00
Toby O'Sullivan
38fabe86cb
Optionally suppress the symlink destination ( #1396 )
2022-07-05 10:05:21 +02:00
kiyan
70bdf496ea
chore: remove quit_on_open from view and use abandon current window
2022-07-04 14:12:56 +02:00
Alexander Courtis
736cc843e1
feat( #1389 ): add git.show_on_dirs ( #1390 )
2022-07-03 11:57:12 +02:00
Krasimir Zahariev
21516f447b
feat(actions): expand_all 'exclude' option ( #1388 )
2022-07-02 18:17:39 +02:00
Alexander Courtis
e401a4c957
feat(watcher): debounce FS watchers
2022-06-28 11:18:22 +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
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
javiertury
6b7b1b34fa
feat: add cwd arg to open_replacing_current_buffer ( #1348 )
2022-06-19 13:59:35 +10: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
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
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
2002b21be7
feat(resize): add ability to grow and shrink the tree when drawing ( #1293 )
...
Will adapt the view size based on the longest line.
fixes #865
2022-05-31 09:05:00 +02:00
Alexander Courtis
b1ecb75a6c
feat: guard against multiple setup calls ( #1308 )
2022-05-30 12:46:56 +02:00
kiyan
5e900c2f29
refacto: tree explorer root should be absolute_path not cwd
2022-05-29 11:40:06 +02:00
emmanueltouzery
3806653d75
new option: close windows displaying removed files ( #1300 )
2022-05-29 11:23:01 +02:00
Kiyan
3a95c5a9cf
feat(actions): expand all under folder ( #1292 )
2022-05-29 11:15:32 +02:00
Alexander Courtis
3ba383d591
chore/remove globals ( #1279 )
...
* remove renderer globals: nvim_tree_add_trailing nvim_tree_highlight_opened_files nvim_tree_root_folder_modifier nvim_tree_special_files
* remove renderer globals: nvim_tree_icon_padding
* remove renderer globals: nvim_tree_symlink_arrow
* remove renderer globals: nvim_tree_show_icons, nvim_tree_show_icons
* remove renderer globals: nvim_tree_git_hl
* remove renderer globals: nvim_tree_group_empty
* remove renderer globals: respect_buf_cwd
* remove renderer globals: nvim_tree_create_in_closed_folder
* remove globals: consistency in legacy checks
* remove renderer globals: nvim_tree_special_files
* renderer.icons.symbols -> glyphs
2022-05-28 11:08:40 +10:00
Taxo Rubio
b2ba6dea71
feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle ( #1276 )
2022-05-21 13:31:14 +02:00
kiyan
17d5bd64e8
chore(config): auto resize the tree by default when opening a file.
...
config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See https://github.com/kyazdani42/nvim-tree.lua/issues/1275#issuecomment-1133515999
2022-05-21 11:27:49 +02:00
Michael
9563a11ce0
feat: reload explorer on buf enter ( #1265 )
2022-05-17 10:04:08 +02:00
Kiyan
6343813a35
feat(live-filter): add ability to live filter out nodes in the tree ( #1056 )
2022-05-17 10:03:49 +02:00
Michael
46014449b6
refactor: use lua api for user commands and autocommands ( #1206 )
...
BREAKING: plugin now requires nvim-0.7
2022-05-14 09:49:45 +02:00
Kiyan
a1600e57f2
feat(renderer): allow placing git icons after filename ( #1203 )
...
This feature allows placing git icons after the filename.
2022-05-07 14:05:51 +02:00
Alexander Courtis
97d8557cb2
1210 silent migrate more options ( #1215 )
2022-05-07 11:13:46 +02:00
matt rice
eeb842c820
add get_config ( #1205 )
2022-04-27 19:26:18 +02:00
kiyan
8e38f5dd5a
fix(opt validation): allow height and width to be of different types
...
fixes #1207
2022-04-27 19:25:08 +02:00
Kiyan
3ac443207f
#1166 validate config ( #1195 )
2022-04-26 21:11:24 +02:00
kiyan
09a47aed8d
Revert " #1166 validate user's options ( #1177 )"
...
This reverts commit 5bbd3a0a91 .
2022-04-24 14:41:48 +02:00
Alexander Courtis
5bbd3a0a91
#1166 validate user's options ( #1177 )
2022-04-24 11:17:05 +02:00
Alexander Courtis
2c71ffcc0d
add actions.change_dir.restrict_above_cwd ( #1171 )
2022-04-23 10:45:23 +02:00
Alexander Courtis
cdbc210d92
#1172 add renderer.icons.webdev_colors default true ( #1175 )
2022-04-18 15:45:14 +02:00
Alexander Courtis
7629d4d106
#1091 diagnostics logging ( #1170 )
2022-04-18 15:39:51 +02:00
Alexander Courtis
d5e4f0655b
add view.indent_markers ( #1134 )
2022-04-10 15:40:29 +02:00
Lò [By The Way]
83fe370d52
Added actions.opts.use_sys_clipboard, [issue: 789 ] ( #1141 )
2022-04-10 15:39:36 +02:00
Alexander Courtis
6368880968
add open_on_setup_file option ( #1133 )
2022-04-03 14:31:40 +02:00