add more sensible defaults for window_picker.excludes (#1027)
This commit is contained in:
committed by
GitHub
parent
7034d26921
commit
3d8912ca53
@@ -175,11 +175,8 @@ require'nvim-tree'.setup {
|
|||||||
enable = true,
|
enable = true,
|
||||||
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
||||||
exclude = {
|
exclude = {
|
||||||
filetype = {
|
filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame", },
|
||||||
"notify",
|
buftype = { "nofile", "terminal", "help", },
|
||||||
"packer",
|
|
||||||
"qf"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,11 +141,8 @@ function.
|
|||||||
enable = true,
|
enable = true,
|
||||||
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
||||||
exclude = {
|
exclude = {
|
||||||
filetype = {
|
filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame", },
|
||||||
"notify",
|
buftype = { "nofile", "terminal", "help", },
|
||||||
"packer",
|
|
||||||
"qf"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -428,10 +425,13 @@ Here is a list of the options available in the setup call:
|
|||||||
default: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"`
|
default: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"`
|
||||||
|
|
||||||
- |actions.open_file.window_picker.exclude|: Table of buffer option names
|
- |actions.open_file.window_picker.exclude|: Table of buffer option names
|
||||||
mapped to a list of option values taht indicates to the picker that the
|
mapped to a list of option values that indicates to the picker that the
|
||||||
buffer's window should not be selectable.
|
buffer's window should not be selectable.
|
||||||
type: `table`
|
type: `table`
|
||||||
default: `{ filetype = { "packer", "qf", "notify" } }`
|
default: `{`
|
||||||
|
`filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame", },`
|
||||||
|
`buftype = { "nofile", "terminal", "help", }`
|
||||||
|
`}`
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
OPTIONS *nvim-tree-options*
|
OPTIONS *nvim-tree-options*
|
||||||
|
|||||||
@@ -10,11 +10,8 @@ local M = {
|
|||||||
enable = true,
|
enable = true,
|
||||||
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
||||||
exclude = {
|
exclude = {
|
||||||
filetype = {
|
filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame", },
|
||||||
"notify",
|
buftype = { "nofile", "terminal", "help", },
|
||||||
"packer",
|
|
||||||
"qf"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user