Alexander Courtis
8b4aaff783
remove legacy g: option migration
2022-12-12 09:50:52 +11:00
Eric Haynes
7177d95ac0
feat: paste and create always target closed folder, remove create_in_closed_folder ( #1802 )
...
* Fix default for file creation in closed directories
* Make paste in closed directories consistent with create
* doc: clarify create_in_closed_folder
* Remove create_in_closed_folder option
* doc: clarify create_in_closed_folder removal message (whoops)
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-12-11 14:40:38 +11:00
David Aguilera
99d713644d
feat(renderer): add renderer.root_folder_label ( #1746 )
...
* Add new renderer setting `add_root_updir` to fix #1743 .
* Fix default value in docs.
* Remove proposed “add_root_updir” and rename “root_folder_modifier” to “root_folder_label”. Also, “root_folder_label” can be also a function now.
* chore: warn users about breaking change
* fix(#1743 ): use silent migration of root_folder_modifier
* fix(#1743 ): add example, document previous renderer.root_folder_modifier
* Add check to validate return type of “root_folder_label” is string.
* Change “root_folder_label” default value to “:~:s?$?/..?”.
* Add missing keyword “local” to local variable “label”.
Co-authored-by: David Aguilera <david.aguilera@neliosoftware.com >
Co-authored-by: gegoune <dev@clog.rocks >
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-11-26 14:02:05 +11:00
Wessel Blokzijl
c49499413a
feat(tabs): add tab.sync options ( #1698 )
...
* Sync closing of nvim-tree across tabs
* chore: remove vim.* "requires"
* Sync closing of nvim-tree across tabs
* Fix api.close calls
* Fix issue from merge
* Implement changes
* Finish todos and add close_all_tabs
* silently refactor options, add doc
* fix vinegar example
* Refactor close to work with tabid
* Close nvim tree if last buffer
* close and abandon all tabs on subsequent setup calls
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-11-19 13:57:45 +11:00
kylo252
6ca6f99e76
feat(notify): add notify.threshold ( #1693 )
...
* feat: configurable notification level
add `notify.threshold` to setup opts
* feat: configurable notification level: add threshold example doc
* feat: configurable notification level: log always comes last
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-11-01 10:24:40 +11:00
Alexander Courtis
2b970635d1
fix( #1668 ): update issue link
2022-10-18 11:34:26 +11:00
Alexander Courtis
3a2f68b9d5
fix( #1668 ): revert all startup behaviour changes back to 540055b
2022-10-18 11:14:35 +11:00
kiyan
21fadc1f38
chore: move nvim-tree.utils.warn -> notify.warn
...
add notify.error and notify.info
2022-07-18 13:46:11 +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
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
Alexander Courtis
97d8557cb2
1210 silent migrate more options ( #1215 )
2022-05-07 11:13:46 +02:00
kiyan
2934370fa3
chore: replace git.io link with bit.ly
2022-04-26 21:25:34 +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
d5e4f0655b
add view.indent_markers ( #1134 )
2022-04-10 15:40:29 +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
a50fd77c99
#857 add filter_custom action, filter_ignored->filter_git_ignored ( #1077 )
2022-03-18 11:30:30 +01:00
Kiyan
0816064a8b
chore: add stylua to format the codebase, and run on CI ( #1055 )
2022-03-06 17:33:30 +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
Alexander Courtis
97717d8d23
G migration mechanism ( #1030 )
2022-03-01 19:54:12 +01:00