summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/setup/lspconfig.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua
index ad101a2..7da3482 100644
--- a/.config/nvim/lua/setup/lspconfig.lua
+++ b/.config/nvim/lua/setup/lspconfig.lua
@@ -24,6 +24,10 @@ lspconfig.rust_analyzer.setup {
on_attach = on_attach,
}
+lspconfig.clangd.setup {
+ on_attach = on_attach,
+}
+
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type