Skip to content

Commit 0c78c27

Browse files
committed
docs(#3088): cleanup following merge
1 parent 88fe257 commit 0c78c27

5 files changed

Lines changed: 7 additions & 4 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/luals-out/
22
/luals/
3-
/src/
43
# backup vim files
54
*~

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ Suppressions are permitted only in the following cases:
104104
- Backwards compatibility shims
105105
- neovim API metadata incorrect, awaiting upstream fix
106106
- classic class framework
107-
- `gen_vimdoc_config.lua` help generator as it requires neovim source
108107

109108
# Backwards Compatibility
110109

doc/nvim-tree-lua.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ The `on_attach` function is passed the `bufnr` of nvim-tree. Use
342342
vim.keymap.set("n", "<C-e>", api.node.open.replace_tree_buffer, opts("Open: In Place"))
343343
---
344344
-- OR use all default mappings
345-
api.config.mappings.default_on_attach(bufnr)
345+
api.map.default_on_attach.default_on_attach(bufnr)
346346

347347
-- remove a default
348348
vim.keymap.del("n", "<C-]>", { buffer = bufnr })
@@ -463,7 +463,7 @@ Alternatively, you may apply these default mappings from your
463463
return { desc = "nvim-tree: " .. desc, buffer = bufnr, noremap = true, silent = true, nowait = true }
464464
end
465465

466-
api.config.mappings.default_on_attach(bufnr)
466+
api.map.default_on_attach.default_on_attach(bufnr)
467467

468468
-- your removals and mappings go here
469469
end

lua/nvim-tree/_meta/api/classes.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---@meta
22

3+
-- TODO #3088 document these
4+
35
---@brief
46
---Classes shared by multiple API modules.
57
---

lua/nvim-tree/_meta/api/filter.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---@meta
22
local nvim_tree = { api = { filter = { live_filter = {} } } }
33

4+
5+
-- TODO 3088 move tree filters in here
6+
47
---
58
---Enter live filter mode. Opens an input window with [filetype] `NvimTreeFilter`
69
---

0 commit comments

Comments
 (0)