nvim-tree.lua/lua/nvim-tree
Antonin Godard 5d13cc8205
feat(#1389): api: recursive node navigation for git and diagnostics (#2525)
* feat(#1389): add next recursive for git and diag moves

The recurse opt can be used to directly go to the next item showing
git/diagnostic status recursively.

Signed-off-by: Antonin Godard <antoningodard@pm.me>

* refactor: status logic in single function

Rename get_status to status_is_valid.

Use status_is_valid function in multiple place to avoid duplicating
code.

Signed-off-by: Antonin Godard <antoningodard@pm.me>

* feat(#1389): add prev recursive for git and diag moves

Signed-off-by: Antonin Godard <antoningodard@pm.me>

* fix(#1389): next recursive: take root node into account

The root node cannot have a status. Previously if moving from the root
node, status_is_valid was trying to fetch the status from it and errored.

Signed-off-by: Antonin Godard <antoningodard@pm.me>

* fix(#1389): doc: remove show_on_open_dirs limitation

Signed-off-by: Antonin Godard <antoningodard@pm.me>

* feat(#1389): move find_node_line to utils

Signed-off-by: Antonin Godard <antoningodard@pm.me>

* feat(#1389): doc: note recursive moves are to files only, tidy

---------

Signed-off-by: Antonin Godard <antoningodard@pm.me>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2024-01-07 09:08:58 +11:00
..
actions feat(#1389): api: recursive node navigation for git and diagnostics (#2525) 2024-01-07 09:08:58 +11:00
explorer feat(#1850): add "no bookmark" filter (#2571) 2023-12-19 16:18:24 +11:00
git ci: lua language server and Makefile (#2546) 2024-01-06 13:18:52 +11:00
iterators chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
marks refactor: improve API readability and tidy actions submodules (#2593) 2023-12-31 15:52:27 +11:00
renderer fix(#2519): Diagnostics Not Updated When Tree Not Visible (#2597) 2023-12-30 14:30:07 +11:00
api.lua feat(#1389): api: recursive node navigation for git and diagnostics (#2525) 2024-01-07 09:08:58 +11:00
colors.lua feat(#2411): add renderer.highlight_bookmarks, renderer.icons.bookmarks_placement (#2412) 2023-09-24 15:07:02 +10:00
commands.lua refactor: api and command focus call tree.open(), soft deprecate tree.focus() 2023-11-27 14:24:55 +02:00
core.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
diagnostics.lua ci: lua language server and Makefile (#2546) 2024-01-06 13:18:52 +11:00
enum.lua feat(#1079): add renderer.highlight_clipboard default name, defaults to undercurls (#2410) 2023-09-17 16:08:04 +10:00
events.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
help.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
keymap.lua feat(#1850): add "no bookmark" filter (#2571) 2023-12-19 16:18:24 +11:00
legacy.lua chore: stylua column width 120 -> 140 (#2448) 2023-10-08 11:40:58 +11:00
lib.lua feat: add kind param to vim.ui.select function calls (#2602) 2023-12-31 15:37:16 +11:00
live-filter.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
log.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
modified.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
node.lua ci: lua language server and Makefile (#2546) 2024-01-06 13:18:52 +11:00
notify.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
utils.lua feat(#1389): api: recursive node navigation for git and diagnostics (#2525) 2024-01-07 09:08:58 +11:00
view.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
watcher.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00