feat: Better border configuration.

Started adding `resolve` which will allow you to do some really nice
stuff easily with options to get the window options from a variety of
inputs.

You can see how we do it in pickers.lua for borders & borderchars
currently.
This commit is contained in:
TJ DeVries
2020-09-12 14:56:58 -04:00
parent 58ab225dca
commit f449c0499c
4 changed files with 127 additions and 8 deletions

View File

@@ -5,6 +5,14 @@ highlight default link TelescopeSelection Visual
" "Normal" in the floating windows created by telescope.
highlight default link TelescopeNormal Normal
" Border highlight groups.
" Use TelescopeBorder to override the default.
" Otherwise set them specifically
highlight default link TelescopeBorder TelescopeNormal
highlight default link TelescopePromptBorder TelescopeBorder
highlight default link TelescopeResultsBorder TelescopeBorder
highlight default link TelescopePreviewBorder TelescopeBorder
" This is like "<C-R>" in your terminal.
" To use it, do `cmap <C-R> <Plug>(TelescopeFuzzyCommandSearch)