From af38ccadc5a86cb00c0edef2a17ddacf1ab5c5de Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sat, 12 Apr 2025 22:12:57 +0200 Subject: [PATCH] removed some border --- lua/config/options.lua | 1 - lua/plugins/lspconfig.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index 639a5ae..106e615 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -149,6 +149,5 @@ vim.diagnostic.config({ }) -- Window border for floating windows -require('lspconfig.ui.windows').default_options.border = 'rounded' require('bamboo').load() diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index be88142..769e214 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -5,7 +5,7 @@ local lspKeys = function(client, bufnr) vim.keymap.set({ 'n', 'x' }, 'a', vim.lsp.buf.code_action, vim.tbl_extend('error', options, { desc = 'Code action' })) vim.keymap.set('n', 'e', vim.lsp.buf.declaration, vim.tbl_extend('error', options, { desc = 'Declaration' })) vim.keymap.set('n', 'h', function() - vim.lsp.buf.hover({ border = 'rounded' }) + vim.lsp.buf.hover({ border = 'none' }) end, vim.tbl_extend('error', options, { desc = 'Hover' })) vim.keymap.set('n', 'c', vim.lsp.buf.outgoing_calls, vim.tbl_extend('error', options, { desc = 'Outgoing calls' })) vim.keymap.set('n', 'C', vim.lsp.buf.incoming_calls, vim.tbl_extend('error', options, { desc = 'Incoming calls' }))