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
|
||||
conform-nvim = {
|
||||
enable = true;
|
||||
settings = {
|
||||
formatters.nixfmt.command = "${lib.getExe pkgs.nixfmt-rfc-style}";
|
||||
formattersByFt = {
|
||||
formatters_by_ft = {
|
||||
"_" = [ "trim_whitespace" ];
|
||||
c = [ "clang_format" ];
|
||||
cpp = [ "clang_format" ];
|
||||
|
@ -157,6 +158,7 @@ in
|
|||
zig = [ "zigfmt" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
gitsigns.enable = true;
|
||||
lint = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue