nvim-tree.lua/lua/nvim-tree
Alexander Courtis 68be6df2fc
refactor(#2886): multi instance: node class refactoring (#2950)
* add todo

* refactor(#2886): multi instance: node class refactoring: extract links, *_git_status (#2944)

* extract DirectoryLinkNode and FileLinkNode, move Node methods to children

* temporarily move DirectoryNode methods into BaseNode for easier reviewing

* move mostly unchanged DirectoryNode methods back to BaseNode

* tidy

* git.git_status_file takes an array

* update git status of links

* luacheck hack

* safer git_status_dir

* refactor(#2886): multi instance: node class refactoring: DirectoryNode:expand_or_collapse (#2957)

move expand_or_collapse to DirectoryNode

* refactor(#2886): multi instance: node group functions refactoring (#2959)

* move last_group_node to DirectoryNode

* move add BaseNode:as and more doc

* revert parameter name changes

* revert parameter name changes

* add Class

* move group methods into DN

* tidy group methods

* tidy group methods

* tidy group methods

* tidy group methods

* parent is DirectoryNode

* tidy expand all

* BaseNode -> Node

* move watcher to DirectoryNode

* last_group_node is DirectoryNode only

* simplify create-file

* simplify parent

* simplify collapse-all

* simplify live-filter

* style

* more type safety
2024-10-25 12:24:59 +11:00
..
actions refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
appearance chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
explorer refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
git refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
iterators chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
marks fix(#2945): stack overflow on api.git.reload or fugitive event with watchers disabled (#2949) 2024-10-11 13:47:01 +11:00
node refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
renderer refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
api.lua refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
buffers.lua fix(#2945): stack overflow on api.git.reload or fugitive event with watchers disabled (#2949) 2024-10-11 13:47:01 +11:00
class.lua refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
commands.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
core.lua fix(#2945): stack overflow on api.git.reload or fugitive event with watchers disabled (#2949) 2024-10-11 13:47:01 +11:00
diagnostics.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
enum.lua fix(#2945): stack overflow on api.git.reload or fugitive event with watchers disabled (#2949) 2024-10-11 13:47:01 +11:00
events.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
help.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
keymap.lua chore: style: align_continuous_similar_call_args (#2937) 2024-09-30 15:34:01 +10:00
legacy.lua chore: style: align_continuous_similar_call_args (#2937) 2024-09-30 15:34:01 +10:00
lib.lua chore: fix lib prompt doc for neovim nightly (#2966) 2024-10-25 11:10:07 +11:00
log.lua refactor(#2886): multi instance: node class refactoring (#2950) 2024-10-25 12:24:59 +11:00
notify.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
utils.lua fix(#2961): windows: escape brackets and parentheses when opening file (#2962) 2024-10-25 11:11:21 +11:00
view.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
watcher.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00