mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2025-12-06 06:46:10 +00:00
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`
30 lines
690 B
Lua
30 lines
690 B
Lua
-- Rerun tests only if their modification time changed.
|
|
cache = true
|
|
|
|
std = luajit
|
|
codes = true
|
|
|
|
self = false
|
|
|
|
-- Glorious list of warnings: https://luacheck.readthedocs.io/en/stable/warnings.html
|
|
ignore = {
|
|
"212", -- Unused argument, In the case of callback function, _arg_name is easier to understand than _, so this option is set to off.
|
|
"122", -- Indirectly setting a readonly global
|
|
}
|
|
|
|
globals = {
|
|
"_",
|
|
"TelescopeGlobalState",
|
|
"TelescopeCachedUppers",
|
|
"TelescopeCachedTails",
|
|
"TelescopeCachedNgrams",
|
|
"_TelescopeConfigurationValues",
|
|
"_TelescopeConfigurationPickers",
|
|
"__TelescopeKeymapStore",
|
|
}
|
|
|
|
-- Global objects defined by the C code
|
|
read_globals = {
|
|
"vim",
|
|
}
|