blob: 6139d36c21b1df82cf8487052c1c104aa6652e6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
local get_default = require('telescope.utils').get_default
-- TODO: Add other major configuration points here.
-- border
-- borderchars
-- selection_strategy
-- TODO: use `require('telescope').setup { }`
_TelescopeConfigurationValues = _TelescopeConfigurationValues or {}
_TelescopeConfigurationValues.default_layout_strategy = get_default(
_TelescopeConfigurationValues.default_layout_strategy,
'horizontal'
)
-- TODO: this should probably be more complicated than just a number.
-- If you're going to allow a bunch of layout strats, they should have nested info or something
_TelescopeConfigurationValues.default_window_width = get_default(
_TelescopeConfigurationValues.default_window_width,
0.75
)
return _TelescopeConfigurationValues
|