nvim: add cmake language server config
This commit is contained in:
parent
9ac5d0065f
commit
cc2d343e4d
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue
Block a user