Commit 2e52aad
committed
fix: respect user's default snacks picker layout preset
Previously base_picker hardcoded the layout preset to 'default' or 'select'
based on whether preview was enabled. This meant user-configured presets
(ivy/telescope/default/select) were not respected for non-file pickers.
Remove the hardcoded preset to let Snacks use the user's default preference,
matching the behavior of the file picker.1 parent b575131 commit 2e52aad
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
396 | | - | |
397 | | - | |
| 395 | + | |
398 | 396 | | |
399 | | - | |
| 397 | + | |
400 | 398 | | |
401 | | - | |
402 | 399 | | |
403 | 400 | | |
404 | 401 | | |
405 | 402 | | |
406 | 403 | | |
407 | 404 | | |
408 | 405 | | |
409 | | - | |
410 | 406 | | |
411 | 407 | | |
412 | 408 | | |
| |||
0 commit comments