Update .bashrc
[dotfiles/.git] / .nano / git.nanorc
1 syntax "git-config" "git(config|modules)$|\.git/config$"
2
3 color brightcyan "\<(true|false)\>"
4 color cyan "^[[:space:]]*[^=]*="
5 color brightmagenta "^[[:space:]]*\[.*\]$"
6 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
7 color brightblack "(^|[[:space:]])#([^{].*)?$"
8 color ,green "[[:space:]]+$"
9 color ,red "    +"
10
11 # This code is free software; you can redistribute it and/or modify it under
12 # the terms of the new BSD License.
13 #
14 # Copyright (c) 2010, Sebastian Staudt
15
16 # A nano configuration file to enable syntax highlighting of some Git specific
17 # files with the GNU nano text editor (http://www.nano-editor.org)
18 #
19 syntax "git-commit" "COMMIT_EDITMSG|TAG_EDITMSG"
20
21 # Commit message
22 color yellow ".*"
23
24 # Comments
25 color brightblack "^#.*"
26
27 # Files changes
28 color white       "#[[:space:]](deleted|modified|new file|renamed):[[:space:]].*"
29 color red         "#[[:space:]]deleted:"
30 color green       "#[[:space:]]modified:"
31 color brightgreen "#[[:space:]]new file:"
32 color brightblue  "#[[:space:]]renamed:"
33
34 # Untracked filenames
35 color black "^# [^/?*:;{}\\]+\.[^/?*:;{}\\]+$"
36
37 color brightmagenta "^#[[:space:]]Changes.*[:]"
38 color brightred "^#[[:space:]]Your branch and '[^']+"
39 color brightblack "^#[[:space:]]Your branch and '"
40 color brightwhite "^#[[:space:]]On branch [^ ]+"
41 color brightblack "^#[[:space:]]On branch"
42
43 # Recolor hash symbols
44
45 # Recolor hash symbols
46 color brightblack "#"
47
48 # Trailing spaces (+LINT is not ok, git uses tabs)
49 color ,green "[[:space:]]+$"
50
51
52 # This syntax format is used for interactive rebasing
53 syntax "git-rebase-todo" "git-rebase-todo"
54
55 # Default
56 color yellow ".*"
57
58 # Comments
59 color brightblack "^#.*"
60
61 # Rebase commands
62 color green       "^(e|edit) [0-9a-f]{7,40}"
63 color green       "^#  (e, edit)"
64 color brightgreen "^(f|fixup) [0-9a-f]{7,40}"
65 color brightgreen "^#  (f, fixup)"
66 color brightwhite "^(p|pick) [0-9a-f]{7,40}"
67 color brightwhite "^#  (p, pick)"
68 color blue        "^(r|reword) [0-9a-f]{7,40}"
69 color blue        "^#  (r, reword)"
70 color brightred   "^(s|squash) [0-9a-f]{7,40}"
71 color brightred   "^#  (s, squash)"
72 color yellow      "^(x|exec) [^ ]+ [0-9a-f]{7,40}"
73 color yellow      "^#  (x, exec)"
74
75 # Recolor hash symbols
76 color brightblack "#"
77
78 # Commit IDs
79 color brightblue "[0-9a-f]{7,40}"
80