Skip to content

Commit 67e2202

Browse files
committed
fix merge
1 parent 1f3055f commit 67e2202

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,14 @@ should you!
4747

4848
- Neo-tree won't let other buffers take over its window.
4949
- Neo-tree won't leave its window scrolled to the last line when there is plenty
50-
of room to display the whole tree.
50+
of room to display the whole tree.
5151
- Neo-tree does not need to be manually refreshed (set `use_libuv_file_watcher =
5252
true`)
5353
- Neo-tree can intelligently follow the current file (set
5454
`follow_current_file.enabled = true`)
55-
- Neo-tree won't leave its window scrolled to the last line when there is
56-
plenty of room to display the whole tree.
5755
- Neo-tree can sync its clipboard across multiple instances, either globally
5856
(within the same Neovim instance) or universally (across multiple Neovim
59-
instances)
57+
instances). Set `clipboard.sync = "global" | "universal"`
6058
- Neo-tree is thoughtful about maintaining or setting focus on the right node
6159
- Neo-tree windows in different tabs are completely separate
6260
- `respect_gitignore` actually works!

lua/neo-tree/sources/manager.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ end
5151

5252
---@alias neotree.Internal.SortFieldProvider fun(node: NuiTree.Node):any
5353

54+
---@alias neotree.Config.SortFunction fun(a: NuiTree.Node, b: NuiTree.Node):boolean?
55+
5456
---@class neotree.State : neotree.Config.Source
5557
---@field name string
5658
---@field tabid integer
5759
---@field id integer
5860
---@field bufnr integer?
5961
---@field dirty boolean
60-
---@field position table
62+
---@field position neotree.State.Position
6163
---@field git_base string
6264
---@field sort table
6365
---@field clipboard neotree.clipboard.Contents
@@ -103,7 +105,7 @@ end
103105
---@field search_pattern string?
104106
---@field use_fzy boolean?
105107
---@field fzy_sort_result_scores table<string, integer?>?
106-
---@field fuzzy_finder_mode string?
108+
---@field fuzzy_finder_mode "directory"|boolean?
107109
---@field open_folders_before_search table?
108110
---sort
109111
---@field sort_function_override neotree.Config.SortFunction?

0 commit comments

Comments
 (0)