chore: removed lsp source information when only one source is available
This commit is contained in:
parent
e4bf9d8318
commit
0ba757ae05
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue