From f24c706f2fd679d1e62e38280bda9eb842dd082d Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Wed, 6 Jul 2022 00:46:27 +0100 Subject: nvim: clangd lsp --- .config/nvim/lua/setup/lspconfig.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/nvim') 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 -- cgit v1.2.3-70-g09d2