Skip to content

Commit 4f7e35c

Browse files
committed
Revert "docs(#3088): gen_vimdoc now uses full paths, requires a patch for a FIXME"
This reverts commit ff0184a.
1 parent 7846322 commit 4f7e35c

File tree

5 files changed

+124
-55
lines changed

5 files changed

+124
-55
lines changed

doc/nvim-tree-lua.txt

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,6 +1231,8 @@ Config *nvim-tree-config*
12311231
{log}? (`nvim_tree.config.log`)
12321232
|nvim_tree.config.log|
12331233

1234+
1235+
12341236
==============================================================================
12351237
Config: sort *nvim-tree-config-sort*
12361238

@@ -1269,6 +1271,8 @@ Config: sort *nvim-tree-config-sort*
12691271
folders. Has no effect when {sorter} is a function.
12701272
Overrides {folders_first}.
12711273

1274+
1275+
12721276
==============================================================================
12731277
Config: view *nvim-tree-config-view*
12741278

@@ -1353,6 +1357,8 @@ Config: view *nvim-tree-config-view*
13531357
{padding}? (`nvim_tree.config.view.width.spec`, default: `1`)
13541358
Extra padding to the right.
13551359

1360+
1361+
13561362
==============================================================================
13571363
Config: renderer *nvim-tree-config-renderer*
13581364

@@ -1527,6 +1533,8 @@ Config: renderer *nvim-tree-config-renderer*
15271533
{bottom}? (`string`) (default: `""`)
15281534
{none}? (`string`) (default: `" "`)
15291535

1536+
1537+
15301538
==============================================================================
15311539
Config: hijack_directories *nvim-tree-config-hijack-directories*
15321540

@@ -1543,6 +1551,8 @@ Config: hijack_directories *nvim-tree-config-hijack-directories*
15431551
• {auto_open}? (`boolean`, default: `true`) Open if the tree was
15441552
previously closed.
15451553

1554+
1555+
15461556
==============================================================================
15471557
Config: update_focused_file *nvim-tree-config-update-focused-file*
15481558

@@ -1573,6 +1583,8 @@ Config: update_focused_file *nvim-tree-config-update-focused-file*
15731583
tree if the file isn't found under the current root
15741584
directory.
15751585

1586+
1587+
15761588
==============================================================================
15771589
Config: system_open *nvim-tree-config-system-open*
15781590

@@ -1595,6 +1607,8 @@ Config: system_open *nvim-tree-config-system-open*
15951607
windows) Optional argument list. Leave empty for OS specific
15961608
default.
15971609

1610+
1611+
15981612
==============================================================================
15991613
Config: git *nvim-tree-config-git*
16001614

@@ -1627,6 +1641,8 @@ Config: git *nvim-tree-config-git*
16271641
• {cygwin_support}? (`boolean`, default: `false`) Use `cygpath` if
16281642
available to resolve paths for git.
16291643

1644+
1645+
16301646
==============================================================================
16311647
Config: diagnostics *nvim-tree-config-diagnostics*
16321648

@@ -1659,6 +1675,8 @@ Config: diagnostics *nvim-tree-config-diagnostics*
16591675
{warning}? (`string`) (default: `""` )
16601676
{error}? (`string`) (default: `""` )
16611677

1678+
1679+
16621680
==============================================================================
16631681
Config: modified *nvim-tree-config-modified*
16641682

@@ -1679,6 +1697,8 @@ Config: modified *nvim-tree-config-modified*
16791697
indication on open directories. Requires
16801698
{show_on_dirs}.
16811699

1700+
1701+
16821702
==============================================================================
16831703
Config: filters *nvim-tree-config-filters*
16841704

@@ -1732,6 +1752,8 @@ Config: filters *nvim-tree-config-filters*
17321752
(default: `{}`)
17331753
{exclude}? (`string[]`) (default: `{}`)
17341754

1755+
1756+
17351757
==============================================================================
17361758
Config: live_filter *nvim-tree-config-live-filter*
17371759

@@ -1748,6 +1770,8 @@ Config: live_filter *nvim-tree-config-live-filter*
17481770
• {always_show_folders}? (`boolean`, default: `true`) Whether to filter
17491771
folders or not.
17501772

1773+
1774+
17511775
==============================================================================
17521776
Config: filesystem_watchers *nvim-tree-config-filesystem-watchers*
17531777

@@ -1781,6 +1805,8 @@ Config: filesystem_watchers *nvim-tree-config-filesystem-watchers*
17811805
directory after {max_events} consecutive events
17821806
with an interval < {debounce_delay}.
17831807

1808+
1809+
17841810
==============================================================================
17851811
Config: actions *nvim-tree-config-actions*
17861812

@@ -1902,6 +1928,8 @@ Config: actions *nvim-tree-config-actions*
19021928
displays a file when removing that file from the
19031929
tree.
19041930

1931+
1932+
19051933
==============================================================================
19061934
Config: trash *nvim-tree-config-trash*
19071935

@@ -1915,6 +1943,8 @@ Config: trash *nvim-tree-config-trash*
19151943
Fields: ~
19161944
{cmd}? (`string`) (default: `"gio trash"` or `"trash"`)
19171945

1946+
1947+
19181948
==============================================================================
19191949
Config: tab *nvim-tree-config-tab*
19201950

@@ -1934,6 +1964,8 @@ Config: tab *nvim-tree-config-tab*
19341964
{ignore}? (`string[]`, default: `{}`) List of filetypes or buffer
19351965
names on new tab that will prevent `open` and `close`
19361966

1967+
1968+
19371969
==============================================================================
19381970
Config: notify *nvim-tree-config-notify*
19391971

@@ -1951,6 +1983,8 @@ Config: notify *nvim-tree-config-notify*
19511983
• {absolute_path}? (`boolean`, default: `true`) Use absolute paths in
19521984
FS action notifications, otherwise item names.
19531985

1986+
1987+
19541988
==============================================================================
19551989
Config: bookmarks *nvim-tree-config-bookmarks*
19561990

@@ -1963,6 +1997,8 @@ Config: bookmarks *nvim-tree-config-bookmarks*
19631997
Fields: ~
19641998
{persist}? (`boolean|string`) (default: `false`)
19651999

2000+
2001+
19662002
==============================================================================
19672003
Config: help *nvim-tree-config-help*
19682004

@@ -1971,6 +2007,8 @@ Config: help *nvim-tree-config-help*
19712007
Fields: ~
19722008
• {sort_by}? (`"key"|"desc"`, default: `"key"`) Alphabetically.
19732009

2010+
2011+
19742012
==============================================================================
19752013
Config: ui *nvim-tree-config-ui*
19762014

@@ -1989,6 +2027,8 @@ Config: ui *nvim-tree-config-ui*
19892027
• {default_yes}? (`boolean`, default: `false`) If `true` the prompt
19902028
will be `Y/n`, otherwise `y/N`
19912029

2030+
2031+
19922032
==============================================================================
19932033
Config: experimental *nvim-tree-config-experimental*
19942034

@@ -1998,6 +2038,8 @@ Config: experimental *nvim-tree-config-experimental*
19982038
In the event of a problem please disable the experiment and raise an
19992039
issue.
20002040

2041+
2042+
20012043
==============================================================================
20022044
Config: log *nvim-tree-config-log*
20032045

@@ -2032,6 +2074,8 @@ Config: log *nvim-tree-config-log*
20322074
|nvim_tree.config.filesystem_watchers| processing,
20332075
verbose.
20342076

2077+
2078+
20352079
==============================================================================
20362080
Config: Default *nvim-tree-config-default*
20372081

@@ -2323,6 +2367,8 @@ Following is the default configuration, see |nvim_tree.config| for details. >lua
23232367
}
23242368
<
23252369

2370+
2371+
23262372
==============================================================================
23272373
API *nvim-tree-api*
23282374

@@ -2398,6 +2444,8 @@ e.g. the following are functionally identical: >lua
23982444
{dir}? (`table<"direct"|"indirect", nvim_tree.git.XY[]>`) direct
23992445
inclusive-or indirect status
24002446

2447+
2448+
24012449
==============================================================================
24022450
API: commands *nvim-tree-api-commands*
24032451

@@ -2570,7 +2618,8 @@ trash({node}) *nvim_tree.api.fs.trash()*
25702618
==============================================================================
25712619
API: git *nvim-tree-api-git*
25722620

2573-
reload() *nvim_tree.api.git.reload()*
2621+
*nvim_tree.api._git.nvim_tree.api.git.reload()*
2622+
nvim_tree.api.git.reload()
25742623
Update the git status of the entire tree.
25752624

25762625

lua/nvim-tree/api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ local api = {
8282
events = require("nvim-tree._meta.api.events"),
8383
filter = require("nvim-tree._meta.api.filter"),
8484
fs = require("nvim-tree._meta.api.fs"),
85-
git = require("nvim-tree._meta.api.git"),
85+
git = require("nvim-tree._meta.api._git"),
8686
health = require("nvim-tree._meta.api.health"),
8787
map = require("nvim-tree._meta.api.map"),
8888
marks = require("nvim-tree._meta.api.marks"),

scripts/gen_vimdoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export LUA_PATH="${DIR_NVIM_SRC}/src/?.lua;${DIR_NVT}/scripts/?.lua"
5959

6060
# gen_vimdoc.lua doesn't like dashes in lua module names
6161
# -> use nvim_tree instead of nvim-tree
62-
mkdir -pv "${DIR_WORK}/runtime/lua"
63-
ln -sv "${DIR_NVT}/lua/nvim-tree" "${DIR_WORK}/runtime/lua/nvim_tree"
62+
mkdir -pv "${DIR_WORK}/lua"
63+
ln -sv "${DIR_NVT}/lua/nvim-tree" "${DIR_WORK}/lua/nvim_tree"
6464

6565
# generate
6666
cd "${DIR_WORK}" && pwd

0 commit comments

Comments
 (0)