summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-10-24 17:16:31 +0300
committerYigit Sever2021-10-24 17:16:31 +0300
commitffd49c6201c3ba8bc3c19e7318740258eb736901 (patch)
tree8888f8739f7d35cc18572f8f7a2542bba9ef0eea
parent266e4d22e816c4ef3c0954141edaecf11fbe0d83 (diff)
downloaddotfiles-ffd49c6201c3ba8bc3c19e7318740258eb736901.tar.gz
dotfiles-ffd49c6201c3ba8bc3c19e7318740258eb736901.tar.bz2
dotfiles-ffd49c6201c3ba8bc3c19e7318740258eb736901.zip
nvim: add clangd to lsp
-rw-r--r--.config/nvim/lua/plugin_settings.lua2
1 files changed, 1 insertions, 1 deletions
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)
336 buf_set_keymap('n', '<leader>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts) 336 buf_set_keymap('n', '<leader>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
337end 337end
338 338
339local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab' } 339local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' }
340for _, lsp in ipairs(servers) do 340for _, lsp in ipairs(servers) do
341 nvim_lsp[lsp].setup { 341 nvim_lsp[lsp].setup {
342 on_attach = on_attach, 342 on_attach = on_attach,