nixos-configs/common/home/neovim/langs/clang.nix

25 lines
363 B
Nix
Raw Normal View History

{
config,
pkgs,
lib,
...
}: let
inherit (config.vars) neovimIde;
inherit (pkgs) vimPlugins;
in
lib.mkIf neovimIde {
programs = {
neovim = {
extraPackages = with pkgs; [
gcc
clang-tools
];
plugins = [
vimPlugins.coc-clangd
vimPlugins.coc-cmake
];
};
};
}