From e956da703bb66e07236d3b611f455a82047af67b Mon Sep 17 00:00:00 2001 From: sajenim Date: Mon, 5 Feb 2024 11:15:58 +0800 Subject: [PATCH] setup clang-tools + lspconfig --- .../sajenim/features/nvim/config/lua/plugins/coding.lua | 3 +++ home-manager/sajenim/features/nvim/default.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/home-manager/sajenim/features/nvim/config/lua/plugins/coding.lua b/home-manager/sajenim/features/nvim/config/lua/plugins/coding.lua index cbf7614..2562594 100644 --- a/home-manager/sajenim/features/nvim/config/lua/plugins/coding.lua +++ b/home-manager/sajenim/features/nvim/config/lua/plugins/coding.lua @@ -59,6 +59,9 @@ return { -- Nix lspconfig.nil_ls.setup{} + -- C + lspconfig.clangd.setup{} + -- -- Global mappings diff --git a/home-manager/sajenim/features/nvim/default.nix b/home-manager/sajenim/features/nvim/default.nix index 4d4d090..e1160f1 100644 --- a/home-manager/sajenim/features/nvim/default.nix +++ b/home-manager/sajenim/features/nvim/default.nix @@ -18,6 +18,7 @@ nil haskell-language-server lua-language-server + clang-tools ]; };