summary refs log tree commit diff
path: root/.vim/lua/lsp.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-06-15 04:46:55 +0200
committerRobert Günzler <r@gnzler.io>2022-06-15 04:46:55 +0200
commitd0c018dceb6d3056936c9cdfdd4e9e807cde0ff9 (patch)
tree3f2904a39c12c74a7062a844c98410c3361b372d /.vim/lua/lsp.lua
parentac19dca86b962f1f00a16d0e6688c8f692204926 (diff)
vim: use a global to configure floating window border
Diffstat (limited to '.vim/lua/lsp.lua')
-rw-r--r--.vim/lua/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vim/lua/lsp.lua b/.vim/lua/lsp.lua
index e134cff..d1da1b3 100644
--- a/.vim/lua/lsp.lua
+++ b/.vim/lua/lsp.lua
@@ -18,7 +18,7 @@ local my_attach = function(client, bufnr)
         vim.diagnostic.open_float(nil, {
           focusable = false,
           close_events = {'BufLeave', 'CursorMoved', 'InsertEnter', 'FocusLost'},
-          border = 'single',
+          border = _G.floating_win_border,
           source = 'always',
           prefix = ' ',
           scope = 'cursor',