2
0
Fork 0
nano-syntax-archived/git.nanorc
2015-05-02 23:15:14 -06:00

21 lines
580 B
Text

syntax "gitconfig" "git(config|modules)$|\.git/config$"
color brightcyan "\<(true|false)\>"
color brightblack "^[[:space:]]*[^=]*="
color brightmagenta "^[[:space:]]*\[.*\]$"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color cyan "(^|[[:space:]])#([^{].*)?$"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
# +EXTRALINT
syntax "git-editmsg" "(COMMIT|TAG)_EDITMSG$"
color cyan "^#.*$"
color ,red "[[:space:]]+$"
syntax "git-rebase" "git-rebase-todo$"
color brightblack "^(edit|fixup|pick|reword|squash|exec|[efprsx])\>"
color blue "\<[0-9a-f]{7,40}\>"
color cyan "^#.*"