added mini.diff and added a border to the mason window

This commit is contained in:
2024-04-10 13:21:50 +02:00
parent e22288fbf8
commit 87d6a0c97d
3 changed files with 28 additions and 17 deletions

View File

@@ -6,7 +6,12 @@ local lsp_default_capabilities = vim.lsp.protocol.make_client_capabilities()
local capabilities = vim.tbl_deep_extend("force", {}, lsp_default_capabilities, default_capabilities)
require("mason").setup()
require("mason").setup({
ui = {
border = "single",
},
})
require("mason-lspconfig").setup({
ensure_installed = { "tsserver", "rust_analyzer" },
handlers = {
@@ -106,11 +111,9 @@ vim.diagnostic.config({
},
})
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
vim.lsp.handlers.hover, {
border = "single"
}
)
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "single",
})
require("lspconfig.ui.windows").default_options = {
border = "single",