Fix Clang.

This commit is contained in:
2024-12-16 20:36:06 +01:00
parent 2e3a861045
commit efde154c5b
2 changed files with 5 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ let
in { in {
home.sessionVariables = { EDITOR = "nvim"; }; home.sessionVariables = { EDITOR = "nvim"; };
home.packages = with pkgs; [ nerdfonts texliveFull ]; home.packages = with pkgs; [ nerdfonts texliveFull clang-tools ];
programs.neovim = { programs.neovim = {
enable = true; enable = true;

View File

@@ -50,7 +50,10 @@ return {
prepend_args = { "-y=\"defaultIndent:' '\"" }, prepend_args = { "-y=\"defaultIndent:' '\"" },
}, },
clang_format = { clang_format = {
prepend_args = { "--style=~/.config/.clang-format" }, prepend_args = {
"--style=file:./.clang-format",
"--fallback-style=LLVM",
},
}, },
}, },
}) })