Add Clang (C/C++) LSP

This commit is contained in:
Sergio Alejandro Ribera Costa 2021-05-07 02:28:03 -04:00
parent a392c66df1
commit 1007be42c1

View file

@ -36,7 +36,7 @@ function on_attach(client)
end end
local lspconf = require "lspconfig" local lspconf = require "lspconfig"
local servers = {"html", "cssls", "tsserver", "pyright", "bashls", "vls"} local servers = {"html", "cssls", "tsserver", "pyright", "bashls", "vls", "clangd"}
for k, lang in pairs(servers) do for k, lang in pairs(servers) do
lspconf[lang].setup { lspconf[lang].setup {