From 148a8703851f708e1a942b1799cb0dd260d91855 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sun, 21 May 2023 09:41:01 +0200 Subject: [PATCH] some borders --- lua/config/options.lua | 3 +++ lua/plugins/lspconfig.lua | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index 2b019c6..f85c89d 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -75,3 +75,6 @@ opt.foldlevel = 20 opt.foldmethod = 'expr' opt.foldexpr = 'nvim_treesitter#foldexpr()' opt.foldexpr = 'nvim_treesitter#foldexpr()' + +-- Window border for floating windows +require('lspconfig.ui.windows').default_options.border = 'rounded' diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index fc6b0c3..28d376f 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -12,7 +12,11 @@ return { }, }, config = function() - require('mason').setup() + require('mason').setup({ + ui = { + border = 'rounded' + } + }) require('mason-lspconfig').setup({ automatic_installation = false, })