chore: removed lsp source information when only one source is available

This commit is contained in:
Simon Lasbrugnas 2025-02-27 14:57:37 +01:00
parent e4bf9d8318
commit 0ba757ae05
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -19,7 +19,7 @@ vim.diagnostic.config({
float = {
style = "minimal",
border = "none",
source = "always",
source = "if_many",
header = "",
prefix = "",
},
@ -53,8 +53,9 @@ lsp_zero.on_attach(function(_, bufnr)
end)
-- Mason configuration
local ensure_installed = { "html", "rust_analyzer", "zls", "ts_ls" }
local ensure_installed = { "html", "rust_analyzer", "zls" }
require("mason-lspconfig").setup({
automatic_installation = true,
handlers = {
lsp_zero.default_setup,
},