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 = {
|
float = {
|
||||||
style = "minimal",
|
style = "minimal",
|
||||||
border = "none",
|
border = "none",
|
||||||
source = "always",
|
source = "if_many",
|
||||||
header = "",
|
header = "",
|
||||||
prefix = "",
|
prefix = "",
|
||||||
},
|
},
|
||||||
|
|
@ -53,8 +53,9 @@ lsp_zero.on_attach(function(_, bufnr)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Mason configuration
|
-- Mason configuration
|
||||||
local ensure_installed = { "html", "rust_analyzer", "zls", "ts_ls" }
|
local ensure_installed = { "html", "rust_analyzer", "zls" }
|
||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
|
automatic_installation = true,
|
||||||
handlers = {
|
handlers = {
|
||||||
lsp_zero.default_setup,
|
lsp_zero.default_setup,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue