Add clangd lsp

This commit is contained in:
Torjus Håkestad 2024-05-12 17:05:05 +02:00
parent 7017afd686
commit 1355d3b227
2 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,7 @@
nil nil
yaml-language-server yaml-language-server
lua-language-server lua-language-server
clang-tools
]; ];
home.sessionVariables.EDITOR = "nvim"; home.sessionVariables.EDITOR = "nvim";
} }

View File

@ -121,9 +121,14 @@ lspconfig.tsserver.setup({
}, },
}) })
-- LSP: rust
lspconfig.rust_analyzer.setup { lspconfig.rust_analyzer.setup {
} }
-- LSP: C/C++
lspconfig.clangd.setup()
-- Telescope -- Telescope
require('telescope').setup({ require('telescope').setup({
extensions = { extensions = {