Fix Clang.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user