diff --git a/home/editor/neovim/default.nix b/home/editor/neovim/default.nix index e382622..a3a9156 100644 --- a/home/editor/neovim/default.nix +++ b/home/editor/neovim/default.nix @@ -53,6 +53,7 @@ nil yaml-language-server lua-language-server + clang-tools ]; home.sessionVariables.EDITOR = "nvim"; } diff --git a/home/editor/neovim/plugins.lua b/home/editor/neovim/plugins.lua index ae18cb5..0321928 100644 --- a/home/editor/neovim/plugins.lua +++ b/home/editor/neovim/plugins.lua @@ -121,9 +121,14 @@ lspconfig.tsserver.setup({ }, }) +-- LSP: rust + lspconfig.rust_analyzer.setup { } +-- LSP: C/C++ +lspconfig.clangd.setup() + -- Telescope require('telescope').setup({ extensions = {