diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-07-06 00:46:27 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-07-06 00:46:27 +0100 |
commit | f24c706f2fd679d1e62e38280bda9eb842dd082d (patch) | |
tree | a04cb93957fd75201222b903a259bb99e730c79a /.config/nvim | |
parent | 68b862a8aeab15e662bbba10084a541870b15648 (diff) |
nvim: clangd lsp
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/setup/lspconfig.lua | 4 |
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 |