@@ -10,6 +10,9 @@ Mappings ............ |Neo-tree-Mappings|
10
10
Filter ............ | Neo-tree-Filter |
11
11
Configuration ....... | Neo-tree-Configuration |
12
12
Setup ............. | Neo-tree-Setup |
13
+ Buffer Variables .. | Neo-tree-buffer-variables |
14
+ Popups ............ | Neo-tree-Popups |
15
+
13
16
Diagnostics ....... | Neo-tree-Diagnostics |
14
17
Highlights ........ | Neo-tree-Highlights |
15
18
Events ............ | Neo-tree-Events |
@@ -334,7 +337,36 @@ require("neo-tree").setup({
334
337
})
335
338
<
336
339
337
- GIT STATUS *Neo-tree_Setup-Git-Status*
340
+
341
+ BUFFER VARIABLES *Neo-tree-buffer-variables*
342
+
343
+ Neo-tree sets certain buffer options and variables that you may use in custom
344
+ code or integrations if you need it. The | filetype | of the main window is
345
+ `neo- tree` . The buffer will also have these local variables set:
346
+
347
+ `winid` The window handle of the window that it was created in.
348
+ `tabnr` The tab number that it was created in.
349
+ `source ` The name of the source that created it, i.e. filesystem, buffers, etc.
350
+
351
+ Please note that if the buffer is displayed in another window or tab, it's
352
+ behavior is unpredictable. It is meant to be locked to it's original location,
353
+ which is why those variables are recorded.
354
+
355
+
356
+ POPUPS *Neo-tree-Popups*
357
+
358
+ Popups will be created with a | filetype | of `neo- tree- popup ` . You can use this
359
+ as the target for autocmds or to exclude them from being acted upon by other
360
+ plugins.
361
+
362
+ They can also be configured by setting the `popup_border_style` in your config,
363
+ and the colors of that border are controlled by the `NeoTreeFloatBorder`
364
+ highlight group. If you you use the special `NC` option for
365
+ `popup_border_style` , the title bar of that popup uses the `NeoTreeTitleBar`
366
+ highlight group.
367
+
368
+
369
+ GIT STATUS *Neo-tree-Setup-Git-Status*
338
370
339
371
By default, Neo-tree will attempt to get the git status for files in the
340
372
current directory. It will use this information to add markers to the right of
0 commit comments