Compare commits
1 commit
14f14bd1af
...
329397fc04
Author | SHA1 | Date | |
---|---|---|---|
329397fc04 |
1 changed files with 14 additions and 12 deletions
|
@ -143,8 +143,9 @@ in
|
||||||
# FIXME: doesn't include formatters
|
# FIXME: doesn't include formatters
|
||||||
conform-nvim = {
|
conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
formatters.nixfmt.command = "${lib.getExe pkgs.nixfmt-rfc-style}";
|
formatters.nixfmt.command = "${lib.getExe pkgs.nixfmt-rfc-style}";
|
||||||
formattersByFt = {
|
formatters_by_ft = {
|
||||||
"_" = [ "trim_whitespace" ];
|
"_" = [ "trim_whitespace" ];
|
||||||
c = [ "clang_format" ];
|
c = [ "clang_format" ];
|
||||||
cpp = [ "clang_format" ];
|
cpp = [ "clang_format" ];
|
||||||
|
@ -157,6 +158,7 @@ in
|
||||||
zig = [ "zigfmt" ];
|
zig = [ "zigfmt" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
gitsigns.enable = true;
|
gitsigns.enable = true;
|
||||||
lint = {
|
lint = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue