nvim-tree.lua/lua/nvim-tree
darcy 4a87b8b46b
feat(#2654): filters.custom may be a function (#2655)
* feat(#2654): add `binaries` field to `filters`

* feat(#2648): allow functions in `filters.custom`

* ci: fix: stylua check

* ci: fix: add new keybind and config to docs

* fix: replace os-specific binary filter with `vim.fn.executable`

* fix: remove function and mapping for `binaries` filter

* fix: add `node` parameter to custom filter function

* fix: update doc for custom filter function signature

* fix: add custom filter to `ACCEPTED_TYPES`

* fix: accept single function for custom filter

* fix: change custom filter on `ACCEPTED_TYPES`

* fix: revert to using `path` for custom filter function

* fix: use `function` type for custom filter

* fix: type for custom filter in help

* fix: custom filter single function no longer mutates `M.config.filter_custom`

* fix: remove dead `if` statement in custom filter

* fix: separate custom filter function from `M.ignore_list`

* doc nit

---------

Co-authored-by: darcy <44690813+darccyy@users.noreply.github.com>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2024-02-11 17:18:40 +11:00
..
actions feat(#2415): colour and highlight overhaul, see :help nvim-tree-highlight-overhaul (#2455) 2024-01-20 16:12:13 +11:00
appearance feat(#2415): add :NvimTreeHiTest (#2664) 2024-02-11 14:41:40 +11:00
explorer feat(#2654): filters.custom may be a function (#2655) 2024-02-11 17:18:40 +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 feat(#2415): colour and highlight overhaul, see :help nvim-tree-highlight-overhaul (#2455) 2024-01-20 16:12:13 +11:00
renderer fix(#2415): nvim 0.8 highlight overhaul support, limited to only show highest highlight precedence (#2642) 2024-01-30 10:37:32 +11:00
api.lua feat(#2415): add :NvimTreeHiTest (#2664) 2024-02-11 14:41:40 +11:00
buffers.lua feat(#2415): colour and highlight overhaul, see :help nvim-tree-highlight-overhaul (#2455) 2024-01-20 16:12:13 +11:00
commands.lua feat(#2415): add :NvimTreeHiTest (#2664) 2024-02-11 14:41:40 +11: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(#2415): colour and highlight overhaul, see :help nvim-tree-highlight-overhaul (#2455) 2024-01-20 16:12:13 +11:00
events.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00
help.lua fix(#2415): highlight help header and mappings (#2669) 2024-02-11 15:40:21 +11:00
keymap.lua feat: add node.open.toggle_group_empty, default mapping L (#2647) 2024-02-04 16:48:56 +11:00
legacy.lua feat(#2415): colour and highlight overhaul, see :help nvim-tree-highlight-overhaul (#2455) 2024-01-20 16:12:13 +11:00
lib.lua feat: add node.open.toggle_group_empty, default mapping L (#2647) 2024-02-04 16:48:56 +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
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 fix(#2643): correctly apply linked highlight groups in tree window (#2653) 2024-01-29 12:42:19 +11:00
watcher.lua chore: add type annotations and resolve LSP warnings (#2555) 2023-12-09 11:34:35 +11:00