]> git.madduck.net Git - etc/vim.git/commitdiff

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:

- make a difference between hlsearch and incsearch highlights - kudos to /u/EgZvor...
authorStefan Wimmer <wimstefan@gmail.com>
Sun, 15 Mar 2020 13:48:55 +0000 (14:48 +0100)
committerStefan Wimmer <wimstefan@gmail.com>
Sun, 15 Mar 2020 13:48:55 +0000 (14:48 +0100)
colors/artesanal.vim
doc/artesanal.txt
templates/_common.colortemplate

index e3369d7bdb78d809d820b93a543b2359024c3eb3..e482005ae8f8f1199f97a20048931f7e4cbd15dc 100644 (file)
@@ -4,7 +4,7 @@
 " Maintainer:   Stefan Wimmer <wimstefan@gmail.com>
 " Website:      https://github.com/wimstefan/vim-artesanal
 " License:      Vim License (see `:help license`)
-" Last Updated: Thu 15 Aug 2019 10:57:02 PM CEST
+" Last Updated: Sun 15 Mar 2020 02:36:29 PM CET
 
 " Generated by Colortemplate v2.0.0
 
@@ -16,7 +16,7 @@ endif
 let g:colors_name = 'artesanal'
 
 let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2
-let s:italics = (((&t_ZH != '' && &t_ZH != '\e[7m') || has('gui_running')) && !has('iOS')) || has('nvim')
+let s:italics = (&t_ZH != '' && &t_ZH != '\e[7m') || has('gui_running') || has('nvim')
 
 if (has('termguicolors') && &termguicolors) || has('gui_running')
   if &background ==# 'dark'
@@ -70,7 +70,7 @@ if (has('termguicolors') && &termguicolors) || has('gui_running')
     hi Error guifg=#e84256 guibg=NONE guisp=NONE gui=bold,standout cterm=bold,standout
     hi! link ErrorMsg Error
     hi Folded guifg=#546e7a guibg=#37474f guisp=NONE gui=italic cterm=italic
-    hi! link IncSearch Search
+    hi IncSearch guifg=#fff176 guibg=#121419 guisp=NONE gui=reverse cterm=reverse
     hi LineNr guifg=#546e7a guibg=#37474f guisp=NONE gui=NONE cterm=NONE
     hi MatchParen guifg=NONE guibg=#455a64 guisp=NONE gui=bold cterm=bold
     hi ModeMsg guifg=#6699cc guibg=NONE guisp=NONE gui=NONE cterm=NONE
@@ -213,7 +213,7 @@ if (has('termguicolors') && &termguicolors) || has('gui_running')
   hi Error guifg=#ae1528 guibg=NONE guisp=NONE gui=bold,standout cterm=bold,standout
   hi! link ErrorMsg Error
   hi Folded guifg=#b6bdcb guibg=#e4e6eb guisp=NONE gui=italic cterm=italic
-  hi! link IncSearch Search
+  hi IncSearch guifg=#ff8c00 guibg=#121419 guisp=NONE gui=reverse cterm=reverse
   hi LineNr guifg=#b6bdcb guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE
   hi MatchParen guifg=NONE guibg=#cdd2db guisp=NONE gui=bold cterm=bold
   hi ModeMsg guifg=#004bb4 guibg=NONE guisp=NONE gui=NONE cterm=NONE
@@ -340,7 +340,7 @@ if s:t_Co >= 256
     hi Error ctermfg=167 ctermbg=NONE cterm=bold,reverse
     hi! link ErrorMsg Error
     hi Folded ctermfg=242 ctermbg=238 cterm=NONE
-    hi! link IncSearch Search
+    hi IncSearch ctermfg=228 ctermbg=233 cterm=reverse
     hi LineNr ctermfg=242 ctermbg=238 cterm=NONE
     hi MatchParen ctermfg=NONE ctermbg=240 cterm=bold
     hi ModeMsg ctermfg=67 ctermbg=NONE cterm=NONE
@@ -457,7 +457,7 @@ if s:t_Co >= 256
   hi Error ctermfg=124 ctermbg=NONE cterm=bold,reverse
   hi! link ErrorMsg Error
   hi Folded ctermfg=250 ctermbg=254 cterm=NONE
-  hi! link IncSearch Search
+  hi IncSearch ctermfg=208 ctermbg=233 cterm=reverse
   hi LineNr ctermfg=250 ctermbg=254 cterm=NONE
   hi MatchParen ctermfg=NONE ctermbg=252 cterm=bold
   hi ModeMsg ctermfg=26 ctermbg=NONE cterm=NONE
@@ -576,7 +576,7 @@ if s:t_Co >= 16
     hi Error ctermfg=Red ctermbg=NONE cterm=bold,reverse
     hi! link ErrorMsg Error
     hi Folded ctermfg=DarkGrey ctermbg=Black cterm=NONE
-    hi! link IncSearch Search
+    hi IncSearch ctermfg=Yellow ctermbg=Black cterm=reverse
     hi LineNr ctermfg=DarkGrey ctermbg=Black cterm=NONE
     hi MatchParen ctermfg=NONE ctermbg=DarkGrey cterm=bold
     hi ModeMsg ctermfg=Blue ctermbg=NONE cterm=NONE
@@ -693,7 +693,7 @@ if s:t_Co >= 16
   hi Error ctermfg=Red ctermbg=NONE cterm=bold,reverse
   hi! link ErrorMsg Error
   hi Folded ctermfg=DarkGrey ctermbg=White cterm=NONE
-  hi! link IncSearch Search
+  hi IncSearch ctermfg=Yellow ctermbg=Black cterm=reverse
   hi LineNr ctermfg=DarkGrey ctermbg=White cterm=NONE
   hi MatchParen ctermfg=NONE ctermbg=LightGrey cterm=bold
   hi ModeMsg ctermfg=Blue ctermbg=NONE cterm=NONE
index f13cb89d5d0b2749517963988ccce1cc1dd102b4..d185f504ea3587440e9317a45245908b82b557d3 100644 (file)
@@ -1,4 +1,4 @@
-*artesanal.txt*       For Vim version 8.1       Last change: 2019 Aug 15
+*artesanal.txt*       For Vim version 8.2       Last change: 2020 Mar 15
 
 
                 Artesanal color scheme    by Stefan Wimmer <wimstefan@gmail.com>
index 46790f1dc4bd233f09c1b61675ac825497d6ae1d..25b2df2a75422b22230f9615f4e41120aa0093ea 100644 (file)
@@ -34,7 +34,7 @@ EndOfBuffer                      bg0          none
 Error                            red          none    t=reverse,bold g=standout,bold
 ErrorMsg                      -> Error
 Folded                           bg3          bg1     g=italic
-IncSearch                     -> Search
+IncSearch                        yellow       black   reverse
 LineNr                           bg3          bg1
 MatchParen                       none         bg2     bold
 ModeMsg                          blue         none