]> git.madduck.net Git - etc/vim.git/blobdiff - templates/_common.colortemplate

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Enhance transparency to SignColumn and FoldColumn
[etc/vim.git] / templates / _common.colortemplate
index f67832fa9e4eb42259c9d908899c9ea48aa92624..7823b86ac20f6db48a4b0874bc113203e6a9ac2d 100644 (file)
 #endif
 #if !has('gui_running') && get(g:, '@optionprefix_transparent', 0)
   ; transparent background
+  LineNr                           bg2          none
   CursorLineNr                     yellow       none
   FoldColumn                       darkgray     none
-  SignColumn                       fg2          none
+  SignColumn                       none         none
   VertSplit                        bg3          none
+  Pmenu                            fg1          none
+  PmenuSbar                        fg2          none
+  PmenuSel                         fg2          none        reverse
+  PmenuThumb                       none         fg2
 #else
   ; opaque background
+  LineNr                           bg2          bg1
   CursorLineNr                     yellow       bg1
   FoldColumn                       darkgray     bg1
-  SignColumn                       fg2          bg1
+  SignColumn                       none          bg1
   VertSplit                        bg3          bg0
+  Pmenu                            fg1          bg2
+  PmenuSbar                        none         bg2
+  PmenuSel                         bg1          fg2        bold
+  PmenuThumb                       none         bg4
 #endif
 
 ; Group                          Fg           Bg         Attributes
@@ -81,14 +91,8 @@ EndOfBuffer                      bg0          none
 ErrorMsg                      -> Error
 Folded                           bg3          bg1        g=italic
 IncSearch                        yellow       black      reverse
-LineNr                           bg3          bg1
-SignColumn                       none         bg1
 MatchParen                       none         bg2        bold
 NonText                          bg4          none
-Pmenu                            fg1          bg2
-PmenuSbar                        none         bg2
-PmenuSel                         bg1          fg2        bold
-PmenuThumb                       none         bg4
 Question                         darkyellow   none
 QuickFixLine                  -> Search
 Search                           brightyellow black      reverse
@@ -156,7 +160,25 @@ InsertMode                       blue         bg0        reverse
 ReplaceMode                      cyan         bg0        reverse
 VisualMode                       yellow       bg0        reverse
 CommandMode                      magenta      bg0        reverse
-Warnings                         yellow       bg0        reverse
+Warnings                         red          bg0        reverse
+; }}}
+
+; Plugin support {{{
+; GitSigns
+#if !has('gui_running') && get(g:, '@optionprefix_transparent', 0)
+  ; transparent background
+  GitSignsAdd                      green    none
+  GitSignsChange                   blue     none
+  GitSignsDelete                   red      none
+#else
+  ; opaque background
+  GitSignsAdd                      green    bg1
+  GitSignsChange                   blue     bg1
+  GitSignsDelete                   red      bg1
+#endif
+GitSignsAddNr                 -> GitSignsAdd
+GitSignsChangeNr              -> GitSignsChange
+GitSignsDeleteNr              -> GitSignsDelete
 ; }}}
 
 ; Terminal colors {{{