feat(sings): use new diagnostic configuration + improve UI

This commit is contained in:
2025-04-17 18:40:46 +04:00
parent 3f05e62ac8
commit 9609e2d7eb
4 changed files with 99 additions and 54 deletions

View File

@@ -1,5 +1,11 @@
local lspconfig = require("lspconfig")
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, {
virtual_text = true
}
)
lspconfig.clangd.setup({})
lspconfig.lua_ls.setup({