1
0
Fork 0

nvim: add cmake language server config

This commit is contained in:
tastytea 2022-08-31 02:31:00 +02:00
parent 9ac5d0065f
commit cc2d343e4d
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 7 additions and 0 deletions

View File

@ -224,6 +224,13 @@ if vim.fn.executable('bash-language-server') > 0 then
on_attach = on_attach,
capabilities = capabilities
})
end
if vim.fn.executable('cmake-language-server') > 0 then
lspconfig.cmake.setup({
on_attach = on_attach,
capabilities = capabilities
})
end
require('lsp-format').setup({