diff options
| author | Robert Günzler <r@gnzler.io> | 2022-06-15 04:46:55 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-06-15 04:46:55 +0200 |
| commit | d0c018dceb6d3056936c9cdfdd4e9e807cde0ff9 (patch) | |
| tree | 3f2904a39c12c74a7062a844c98410c3361b372d /.vim/lua/lsp.lua | |
| parent | ac19dca86b962f1f00a16d0e6688c8f692204926 (diff) | |
vim: use a global to configure floating window border
Diffstat (limited to '.vim/lua/lsp.lua')
| -rw-r--r-- | .vim/lua/lsp.lua | 2 |
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', |