Compare commits
No commits in common. "3e9ccdbca7507ec555aea4d2f4363ff3a7c2d96c" and "de94160adf788cf761333cee0854e699f1f4300e" have entirely different histories.
3e9ccdbca7
...
de94160adf
1 changed files with 6 additions and 8 deletions
|
|
@ -34,8 +34,8 @@ in
|
|||
# Makes it a bit more readable
|
||||
blame = {
|
||||
coloring = "repeatedLines";
|
||||
markIgnoredLines = true;
|
||||
markUnblamables = true;
|
||||
markIgnoredLines = true;
|
||||
};
|
||||
|
||||
# I want `pull --rebase` as a default
|
||||
|
|
@ -45,20 +45,20 @@ in
|
|||
|
||||
# Shiny colors
|
||||
color = {
|
||||
ui = "auto";
|
||||
branch = "auto";
|
||||
diff = "auto";
|
||||
interactive = "auto";
|
||||
status = "auto";
|
||||
ui = "auto";
|
||||
};
|
||||
|
||||
# Pretty much the usual diff colors
|
||||
"color.diff" = {
|
||||
commit = "yellow";
|
||||
frag = "cyan";
|
||||
meta = "yellow";
|
||||
new = "green";
|
||||
frag = "cyan";
|
||||
old = "red";
|
||||
new = "green";
|
||||
whitespace = "red reverse";
|
||||
};
|
||||
|
||||
|
|
@ -123,10 +123,8 @@ in
|
|||
|
||||
ignores =
|
||||
let
|
||||
inherit (builtins) readFile;
|
||||
inherit (lib) filter hasPrefix splitString;
|
||||
readLines = file: splitString "\n" (readFile file);
|
||||
removeComments = filter (line: line != "" && !(hasPrefix "#" line));
|
||||
readLines = file: lib.splitString "\n" (builtins.readFile file);
|
||||
removeComments = lib.filter (line: line != "" && !(lib.hasPrefix "#" line));
|
||||
getPaths = file: removeComments (readLines file);
|
||||
in
|
||||
getPaths ./default.ignore;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue