nvim-tree.lua/lua/nvim-tree
Gabriel Crispino fee1da8897
feat(#3037): add API node.buffer.delete, node.buffer.wipe (#3040)
* feat(mappings): add key map to close file buffer

* feat: implement Api.node.buffer.delete

* feat: implement Api.node.buffer.wipe

* refactor: add util fn for common delete ops on bufs

* fix: minor fixes

* refactor: fix lint issues

* fix: undo unintended ApiTreeToggleOpts change

* fix: change error message level to info

* fix: remove unused opts

* refactor: merge delete-buffer and wipe-buffer into single buffer file

* refactor: make wipe and delete fns take a node instead of a file path

* docs: update help with new API commands

* remove refactored utils.lua

* remove unused static setup

* tweak doc

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-01-25 12:47:34 +11:00
..
_meta feat(#2948): add custom decorators, :help nvim-tree-decorators (#2996) 2024-12-07 16:03:29 +11:00
actions feat(#3037): add API node.buffer.delete, node.buffer.wipe (#3040) 2025-01-25 12:47:34 +11:00
appearance chore: resolve deprecated in 0.11 (#3053) 2025-01-24 11:57:18 +11:00
explorer feat(#2948): add custom decorators, :help nvim-tree-decorators (#2996) 2024-12-07 16:03:29 +11:00
git chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
iterators chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
marks chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
node feat(#2948): add custom decorators, :help nvim-tree-decorators (#2996) 2024-12-07 16:03:29 +11:00
renderer chore: resolve deprecated in 0.11 (#3053) 2025-01-24 11:57:18 +11:00
api.lua feat(#3037): add API node.buffer.delete, node.buffer.wipe (#3040) 2025-01-25 12:47:34 +11:00
buffers.lua chore: resolve undefined-field warnings, fix link git statuses, rewrite devicons (#2968) 2024-11-03 14:06:12 +11:00
classic.lua chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
commands.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
core.lua chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
diagnostics.lua fix(#3041): use vim.diagnostic.get for updating diagnostics (#3042) 2025-01-13 15:15:48 +11:00
enum.lua chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
events.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
help.lua chore: resolve deprecated in 0.11 (#3053) 2025-01-24 11:57:18 +11:00
keymap.lua chore: enable incomplete-signature-doc, format nvt-min.lua, assorted formatting tidies (#2967) 2024-10-25 14:25:30 +11:00
legacy.lua chore: style: align_continuous_similar_call_args (#2937) 2024-09-30 15:34:01 +10:00
lib.lua refactor(#2941): move lib methods to explorer (#2964) 2024-10-27 09:03:26 +11:00
log.lua chore: resolve undefined-field warnings, fix link git statuses, rewrite devicons (#2968) 2024-11-03 14:06:12 +11:00
notify.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
utils.lua fix(#2981): windows: root changed when navigating with LSP (#2982) 2024-11-03 13:52:20 +11:00
view.lua fix(#3015): dynamic width no longer truncates on right_align icons (#3022) 2024-12-14 08:54:18 +11:00
watcher.lua docs: notify users with a fs.inotify.max_user_watches message on EMFILE event (#3028) 2024-12-13 10:39:46 +11:00