diff options
author | Drew Neil <andrew.jr.neil@gmail.com> | 2011-05-05 15:29:07 -0700 |
---|---|---|
committer | Ethan Schoonover <es@ethanschoonover.com> | 2011-05-05 15:29:07 -0700 |
commit | 7a7e5c8818d717084730133ed6b84a3ffc9d0447 (patch) | |
tree | ef569de1f2d800feeb9574a6155bedb0d7a42ae4 /colors | |
parent | a8c94682fe86e556d190b8d22868538ad6149b3b (diff) | |
download | vim-colors-solarized-7a7e5c8818d717084730133ed6b84a3ffc9d0447.tar.gz |
[vim] add highlighting for gitcommit values (useful in fugitive)
This is a modified version of a patch from @nelstrom. Any mistakes are
my own (@altercation), the fine idea and original work is @nelstrom's.
This establishes a good default set of highlight values when viewing
the status window using @tpope's fugitive plugin.
Diffstat (limited to 'colors')
-rw-r--r-- | colors/solarized.vim | 53 |
1 files changed, 52 insertions, 1 deletions
diff --git a/colors/solarized.vim b/colors/solarized.vim index 3ba347b..b78b55a 100644 --- a/colors/solarized.vim +++ b/colors/solarized.vim @@ -257,7 +257,8 @@ if (has("gui_running") && g:solarized_degrade == 0) let s:violet = "#6c71c4" let s:blue = "#268bd2" let s:cyan = "#2aa198" - let s:green = "#859900" + "let s:green = "#859900" "original + let s:green = "#719e07" "experimental elseif (has("gui_running") && g:solarized_degrade == 1) " These colors are identical to the 256 color mode. They may be viewed " while in gui mode via "let g:solarized_degrade=1", though this is not @@ -706,6 +707,56 @@ exe "hi! vimGroup" .s:fmt_undb .s:fg_blue .s:bg_none hi! link diffAdded Statement hi! link diffLine Identifier "}}} +" git & gitcommit highlighting "{{{ +"git +"exe "hi! gitDateHeader" +"exe "hi! gitIdentityHeader" +"exe "hi! gitIdentityKeyword" +"exe "hi! gitNotesHeader" +"exe "hi! gitReflogHeader" +"exe "hi! gitKeyword" +"exe "hi! gitIdentity" +"exe "hi! gitEmailDelimiter" +"exe "hi! gitEmail" +"exe "hi! gitDate" +"exe "hi! gitMode" +"exe "hi! gitHashAbbrev" +"exe "hi! gitHash" +"exe "hi! gitReflogMiddle" +"exe "hi! gitReference" +"exe "hi! gitStage" +"exe "hi! gitType" +"exe "hi! gitDiffAdded" +"exe "hi! gitDiffRemoved" +"gitcommit +"exe "hi! gitcommitSummary" +exe "hi! gitcommitComment" .s:fmt_ital .s:fg_base01 .s:bg_none +hi! link gitcommitUntracked gitcommitComment +hi! link gitcommitDiscarded gitcommitComment +hi! link gitcommitSelected gitcommitComment +exe "hi! gitcommitUnmerged" .s:fmt_bold .s:fg_green .s:bg_none +exe "hi! gitcommitOnBranch" .s:fmt_bold .s:fg_base01 .s:bg_none +exe "hi! gitcommitBranch" .s:fmt_bold .s:fg_magenta .s:bg_none +hi! link gitcommitNoBranch gitcommitBranch +exe "hi! gitcommitDiscardedType".s:fmt_none .s:fg_red .s:bg_none +exe "hi! gitcommitSelectedType" .s:fmt_none .s:fg_green .s:bg_none +"exe "hi! gitcommitUnmergedType" +"exe "hi! gitcommitType" +"exe "hi! gitcommitNoChanges" +"exe "hi! gitcommitHeader" +exe "hi! gitcommitHeader" .s:fmt_none .s:fg_base01 .s:bg_none +exe "hi! gitcommitUntrackedFile".s:fmt_bold .s:fg_cyan .s:bg_none +exe "hi! gitcommitDiscardedFile".s:fmt_bold .s:fg_red .s:bg_none +exe "hi! gitcommitSelectedFile" .s:fmt_bold .s:fg_green .s:bg_none +exe "hi! gitcommitUnmergedFile" .s:fmt_bold .s:fg_yellow .s:bg_none +exe "hi! gitcommitFile" .s:fmt_bold .s:fg_base0 .s:bg_none +hi! link gitcommitDiscardedArrow gitcommitDiscardedFile +hi! link gitcommitSelectedArrow gitcommitSelectedFile +hi! link gitcommitUnmergedArrow gitcommitUnmergedFile +"exe "hi! gitcommitArrow" +"exe "hi! gitcommitOverflow" +"exe "hi! gitcommitBlank" +" }}} " html highlighting "{{{ " --------------------------------------------------------------------- exe "hi! htmlTag" .s:fmt_none .s:fg_base01 .s:bg_none |