summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-09-12 14:56:58 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-09-12 14:56:58 -0400
commitf449c0499ca63e653c9829c2e40bff7594e9eb23 (patch)
treeb9fa4cc01c589234fc8c5f9b9b313002a6e56629 /plugin
parent58ab225dca31607c4a2e1a5fbebdb26b5be1d5e1 (diff)
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.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/telescope.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugin/telescope.vim b/plugin/telescope.vim
index 3a333c9..0361f3e 100644
--- a/plugin/telescope.vim
+++ b/plugin/telescope.vim
@@ -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)