From ffd49c6201c3ba8bc3c19e7318740258eb736901 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 24 Oct 2021 17:16:31 +0300 Subject: nvim: add clangd to lsp --- .config/nvim/lua/plugin_settings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim/lua/plugin_settings.lua') diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 0ca647a..8994763 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua @@ -336,7 +336,7 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', 'f', 'lua vim.lsp.buf.formatting()', opts) end -local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab' } +local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } for _, lsp in ipairs(servers) do nvim_lsp[lsp].setup { on_attach = on_attach, -- cgit v1.2.3-70-g09d2