fix(nvim): add cpp compile flags for clangd
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-12-08 00:19:59 -05:00
parent 1e94cd9d0a
commit 9f85988d6a

View file

@ -5,10 +5,15 @@
...
}: let
inherit (lib) mkIf;
inherit (pkgs.writers) writeYAML;
cfg = config.programs.neovim;
in
mkIf cfg.enableIde {
xdg.configFile."clangd/config.yaml".source = writeYAML "config.yaml" {
CompileFlags.Add = ["-D__cpp_concepts=202002L"];
};
programs = {
neovim = {
extraPackages = builtins.attrValues {