You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---@fieldremove? boolean Prompt before removing. Default: `true`
333
-
---@fieldtrash? boolean Prompt before trashing. Default: `true`
334
-
---@fielddefault_yes? boolean If `true` the prompt will be `\"Y/n\"`, otherwise `\"y/N\"`. Default: `false`
339
+
---
340
+
---Prompt before removing.
341
+
---(default: `true`)
342
+
---@fieldremove? boolean
343
+
---
344
+
---Prompt before trashing.
345
+
---(default: `true`)
346
+
---@fieldtrash? boolean
347
+
---
348
+
---If `true` the prompt will be `Y/n`, otherwise `y/N`
349
+
---(default: `false`)
350
+
---@fielddefault_yes? boolean
335
351
336
352
--
337
353
-- Actions
338
354
--
339
355
340
356
---@classnvim_tree.Config.Actions
341
-
---@fielduse_system_clipboard? boolean A boolean value that toggle the use of system clipboard when copy/paste function are invoked. When enabled, copied text will be stored in registers '+' (system), otherwise, it will be stored in '1' and '"'. Default: `true`
342
-
---@fieldchange_dir? nvim_tree.Config.Actions.ChangeDir vim |current-directory| behaviour.
343
-
---@fieldexpand_all? nvim_tree.Config.Actions.ExpandAll Configuration for |nvim-tree-api.tree.expand_all()| and |nvim-tree-api.node.expand()|
344
-
---@fieldfile_popup? nvim_tree.Config.Actions.FilePopup Configuration for file_popup behaviour.
345
-
---@fieldopen_file? nvim_tree.Config.Actions.OpenFile Configuration options for opening a file from nvim-tree.
346
-
---@fieldremove_file? nvim_tree.Config.Actions.RemoveFile Configuration options for removing a file from nvim-tree.
347
-
357
+
---
358
+
---A boolean value that toggle the use of system clipboard when copy/paste function are invoked. When enabled, copied text will be stored in registers `+` (system), otherwise, it will be stored in `1` and `"`
---@fieldenable? boolean Change the working directory when changing directories in the tree. Default: `true`
350
-
---@fieldglobal? boolean Use `:cd` instead of `:lcd` when changing directories. Default: `false`
351
-
---@fieldrestrict_above_cwd? boolean Restrict changing to a directory above the global cwd. Default: `false`
383
+
---
384
+
---Change the working directory when changing directories in the tree
385
+
---(default: `true`)
386
+
---@fieldenable? boolean
387
+
---
388
+
---Use `:cd` instead of `:lcd` when changing directories.
389
+
---(default: `false`)
390
+
---@fieldglobal? boolean
391
+
---
392
+
--- Restrict changing to a directory above the global cwd.
393
+
---(default: `false`)
394
+
---@fieldrestrict_above_cwd? boolean
352
395
396
+
--
397
+
-- Actions.ExpandAll
398
+
--
399
+
400
+
---Configuration for |nvim-tree-api.tree.expand_all()| and |nvim-tree-api.node.expand()|
353
401
---@classnvim_tree.Config.Actions.ExpandAll
354
-
---@fieldmax_folder_discovery? integer Limit the number of folders being explored when expanding every folders. Avoids hanging neovim when running this action on very large folders. Default: `300`
355
-
---@fieldexclude? string[] A list of directories that should not be expanded automatically. E.g `{ ".git", "target", "build" }` etc. Default: `{}`
402
+
---
403
+
---Limit the number of folders being explored when expanding every folders. Avoids hanging neovim when running this action on very large folders.
404
+
---(default: `300`)
405
+
---@fieldmax_folder_discovery? integer
406
+
---
407
+
---A list of directories that should not be expanded automatically e.g `{ ".git", "target", "build" }`
408
+
---(default: `{}`)
409
+
---@fieldexclude? string[]
410
+
411
+
--
412
+
-- Actions.FilePopup
413
+
--
356
414
415
+
---Configuration for file_popup behaviour.
357
416
---@classnvim_tree.Config.Actions.FilePopup
358
-
---@fieldopen_win_config? table Floating window config for file_popup. See |nvim_open_win| for more details. You shouldn't define `"width"` and `"height"` values here. They will be overridden to fit the file_popup content. Default: `{ col = 1, row = 1, relative = "cursor", border = "shadow", style = "minimal", }`
417
+
---
418
+
---Floating window config for file_popup. See |nvim_open_win| and |vim.api.keyset.win_config| for more details. You shouldn't define `width` and `height` values here. They will be overridden to fit the file_popup content.
---@fieldenable? boolean Enable the window picker. If this feature is not enabled, files will open in the current window. Default: `true`
368
-
---@fieldpicker? string|fun(): integer Change the way in which to pick a window. Default: `"default"`
369
-
---@fieldchars? string A string of chars used for window picker labels. Default: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"`
370
-
---@fieldexclude? nvim_tree.Config.Actions.OpenFile.WindowPicker.Exclude Floating window config for window selector.
371
-
450
+
---
451
+
---Enable the feature. If the feature is not enabled, files will open in window from which you last opened the tree, obeying |nvim-tree.actions.open_file.window_picker.exclude|
452
+
---(default: `true`)
453
+
---@fieldenable? boolean
454
+
---
455
+
---Change the default window picker: a string `"default"` or a function. The function should return the window id that will open the node, or `nil` if an invalid window is picked or user cancelled the action. The picker may create a new window.
456
+
---(default: `"default"`)
457
+
---@fieldpicker? string|fun(): integer
458
+
---
459
+
---A string of chars used as identifiers by the window picker.
---@fieldfiletype? string[] A list of filetypes to exclude from window picker. Default: `{ "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame", }`
374
-
---@fieldbuftype? string[] A list of buftypes to exclude from window picker. Default: `{ "nofile", "terminal", "help", }`
0 commit comments