Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
feat(nvim): clang lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jan 3, 2023
1 parent 2c010ba commit ef37785
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nvim/config/lua/user/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ lspconfig.dockerls.setup({
on_attach = on_attach,
})

lspconfig.clangd.setup({
capabilities = capabilities,
on_attach = on_attach,
})

-- Make runtime files discoverable to the server
local runtime_path = vim.split(package.path, ";")
table.insert(runtime_path, "lua/?.lua")
Expand Down

0 comments on commit ef37785

Please sign in to comment.