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
kiyan
524758a207
chore: remove auto close
...
also fix emmylua errors in log.lua file
fixes #1005
fixes #871
2022-03-27 12:13:24 +02:00
Alexander Courtis
54c78dbca2
#791 add profiling for some operations ( #1108 )
2022-03-26 13:22:28 +01:00
kiyan
a2fc2979f3
fix: legacy options needs a table
...
fixes #1087
2022-03-18 20:08:21 +01:00
Alexander Courtis
20797a8d74
#1050 #1068 various default options tweaks ( #1074 )
2022-03-18 11:35:15 +01:00
Maximiliano Curia
d60773e441
Set target window whenever we open "open" a visible tree ( #1080 )
2022-03-18 11:31:39 +01:00
Alexander Courtis
a65078e3ae
#1060 use one log file with the option to truncate ( #1075 )
2022-03-12 14:43:33 +01:00
kiyan
471afc13fe
refacto: abstract TreeExplorer in core.lua
2022-03-09 22:01:54 +01:00
Andreas Bissinger
60a9c86c53
feat: make it possible to collapse the tree but keep the directories open which are in used in buffers ( #1057 )
2022-03-09 11:08:29 +01:00
Alexander Courtis
19075f41e8
File logging ( #1053 )
...
* add file logging infrastructure
* log git runner operations
* log configuration and mappings
* document file logging infrastructure
* style fixes
* stylua fixes
* document log file locations
2022-03-07 08:44:37 +01:00
Kiyan
0816064a8b
chore: add stylua to format the codebase, and run on CI ( #1055 )
2022-03-06 17:33:30 +01:00
Andreas Bissinger
7cb689795e
feature: add feature to increase/decrease size ( #1048 )
2022-03-06 11:33:28 +01:00
Brandon D
690c7e96ed
feat: add sort_by option to sort files by modification time ( #1040 )
...
Co-authored-by: Brandon Dwiel <bdwiel@apple.com >
2022-03-03 23:41:58 +01:00
kiyan
866442fd2c
feat: focus current buffer when opening in current buffer
...
fixes #1038
2022-03-02 21:42:05 +01:00
kiyan
0e7856fd8d
BREAKING_CHANGE: nvim-tree buffer was renamed
...
You should now use `NvimTree_*` when matching with an autocmd
There is now 1 buffer per tabpage.
2022-03-01 20:58:04 +01:00
kiyan
f37c3ffa59
chore: move old option into setup from entrypoint to legacy.lua
2022-03-01 20:34:10 +01:00
kiyan
6af2d5a720
chore: move auto_resize to actions.open_file.resize_window
...
fixes #1034
2022-03-01 20:07:36 +01:00
Andreas Bissinger
9ec710e338
remove semicolons ( #1035 )
2022-03-01 19:57:05 +01:00
Andreas Bissinger
61a59ffae1
feat: new config to be able to always open the tree on setup ( #1023 )
2022-03-01 19:56:04 +01:00