diff options
author | Yigit Sever | 2021-10-24 17:16:31 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-24 17:16:31 +0300 |
commit | ffd49c6201c3ba8bc3c19e7318740258eb736901 (patch) | |
tree | 8888f8739f7d35cc18572f8f7a2542bba9ef0eea | |
parent | 266e4d22e816c4ef3c0954141edaecf11fbe0d83 (diff) | |
download | dotfiles-ffd49c6201c3ba8bc3c19e7318740258eb736901.tar.gz dotfiles-ffd49c6201c3ba8bc3c19e7318740258eb736901.tar.bz2 dotfiles-ffd49c6201c3ba8bc3c19e7318740258eb736901.zip |
nvim: add clangd to lsp
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 2 |
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) |
337 | end | 337 | end |
338 | 338 | ||
339 | local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab' } | 339 | local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } |
340 | for _, lsp in ipairs(servers) do | 340 | for _, 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, |