diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-06-09 19:51:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-09 19:51:03 +0200 |
| commit | 618e0e6075b4215e43c6a848daa37ef4e354b5dc (patch) | |
| tree | 1d14ef2c80c4b919ea2b516788ed515d9ed49b7c /.luacheckrc | |
| parent | feaed4b6e23bd56906089154f293f2b1ecb68c7e (diff) | |
feat: set defaults for each picker in telescope setup (#883)
This allows easier picker configuration for example:
```lua
require("telescope").setup {
pickers = {
buffers = {
show_all_buffers = true,
sort_lastused = true,
theme = "dropdown",
previewer = false,
mappings = {
i = {
["<c-q>"] = "smart_send_to_qflist",
}
}
}
}
}
```
This configuration will be applied when running `:Telescope buffers`
Diffstat (limited to '.luacheckrc')
| -rw-r--r-- | .luacheckrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc index 98c76bd..7b4c92a 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -19,6 +19,7 @@ globals = { "TelescopeCachedTails", "TelescopeCachedNgrams", "_TelescopeConfigurationValues", + "_TelescopeConfigurationPickers", "__TelescopeKeymapStore", } |
