Fix Clang.
This commit is contained in:
@@ -6,7 +6,7 @@ let
|
||||
in {
|
||||
home.sessionVariables = { EDITOR = "nvim"; };
|
||||
|
||||
home.packages = with pkgs; [ nerdfonts texliveFull ];
|
||||
home.packages = with pkgs; [ nerdfonts texliveFull clang-tools ];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
|
||||
@@ -50,7 +50,10 @@ return {
|
||||
prepend_args = { "-y=\"defaultIndent:' '\"" },
|
||||
},
|
||||
clang_format = {
|
||||
prepend_args = { "--style=~/.config/.clang-format" },
|
||||
prepend_args = {
|
||||
"--style=file:./.clang-format",
|
||||
"--fallback-style=LLVM",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user