fix(prompt): add select_prompts to suit UI decorator plugins such as dressing and telescope

This commit is contained in:
Alexander Courtis
2022-09-22 13:23:49 +10:00
parent 5cb87c037d
commit ac8d259bad
7 changed files with 54 additions and 15 deletions

View File

@@ -178,8 +178,9 @@ Subsequent calls to setup will replace the previous configuration.
sync_root_with_cwd = false,
reload_on_bufenter = false,
respect_buf_cwd = false,
on_attach = "disable", -- function(bufnr). If nil, will use the deprecated mapping strategy
remove_keymaps = false, -- boolean (disable totally or not) or list of key (lhs)
on_attach = "disable",
remove_keymaps = false,
select_prompts = false,
view = {
adaptive_size = false,
centralize_selection = false,
@@ -621,6 +622,11 @@ This can be used to remove the default mappings in the tree.
- Ignore by passing `false`
Type: `bool` or `{string}`, Default: `false`
*nvim-tree.select_prompts*
Use |vim.ui.select| style prompts. Necessary when using a UI prompt decorator
such as dressing.nvim or telescope-ui-select.nvim
Type: `boolean`, Default: `false`
*nvim-tree.view*
Window / buffer setup.