nvim-tree.lua/lua/nvim-tree/actions
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
..
finders refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
fs chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
moves chore: resolve undefined-field warnings, fix link git statuses, rewrite devicons (#2968) 2024-11-03 14:06:12 +11:00
node feat(#3037): add API node.buffer.delete, node.buffer.wipe (#3040) 2025-01-25 12:47:34 +11:00
root docs: notify users with a fs.inotify.max_user_watches message on EMFILE event (#3028) 2024-12-13 10:39:46 +11:00
tree chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
init.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00