removed some border

This commit is contained in:
Oliver Hartmann 2025-04-12 22:12:57 +02:00
parent b690aa49e6
commit af38ccadc5
2 changed files with 1 additions and 2 deletions

View File

@ -149,6 +149,5 @@ vim.diagnostic.config({
}) })
-- Window border for floating windows -- Window border for floating windows
require('lspconfig.ui.windows').default_options.border = 'rounded'
require('bamboo').load() require('bamboo').load()

View File

@ -5,7 +5,7 @@ local lspKeys = function(client, bufnr)
vim.keymap.set({ 'n', 'x' }, '<space>a', vim.lsp.buf.code_action, vim.tbl_extend('error', options, { desc = 'Code action' })) vim.keymap.set({ 'n', 'x' }, '<space>a', vim.lsp.buf.code_action, vim.tbl_extend('error', options, { desc = 'Code action' }))
vim.keymap.set('n', '<space>e', vim.lsp.buf.declaration, vim.tbl_extend('error', options, { desc = 'Declaration' })) vim.keymap.set('n', '<space>e', vim.lsp.buf.declaration, vim.tbl_extend('error', options, { desc = 'Declaration' }))
vim.keymap.set('n', '<space>h', function() vim.keymap.set('n', '<space>h', function()
vim.lsp.buf.hover({ border = 'rounded' }) vim.lsp.buf.hover({ border = 'none' })
end, vim.tbl_extend('error', options, { desc = 'Hover' })) end, vim.tbl_extend('error', options, { desc = 'Hover' }))
vim.keymap.set('n', '<space>c', vim.lsp.buf.outgoing_calls, vim.tbl_extend('error', options, { desc = 'Outgoing calls' })) vim.keymap.set('n', '<space>c', vim.lsp.buf.outgoing_calls, vim.tbl_extend('error', options, { desc = 'Outgoing calls' }))
vim.keymap.set('n', '<space>C', vim.lsp.buf.incoming_calls, vim.tbl_extend('error', options, { desc = 'Incoming calls' })) vim.keymap.set('n', '<space>C', vim.lsp.buf.incoming_calls, vim.tbl_extend('error', options, { desc = 'Incoming calls' }))