From: Stefan Wimmer Date: Sun, 15 Mar 2020 13:48:55 +0000 (+0100) Subject: - make a difference between hlsearch and incsearch highlights - kudos to /u/EgZvor... X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/18e572e03c2d50e2a27c1c8cda66bd2b6c27c054?hp=a7ca0b2439d4d296c302b3d0a25797e8494f5acd - make a difference between hlsearch and incsearch highlights - kudos to /u/EgZvor on /r/vim --- diff --git a/colors/artesanal.vim b/colors/artesanal.vim index e3369d7..e482005 100644 --- a/colors/artesanal.vim +++ b/colors/artesanal.vim @@ -4,7 +4,7 @@ " Maintainer: Stefan Wimmer " 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 != '') || has('gui_running')) && !has('iOS')) || has('nvim') +let s:italics = (&t_ZH != '' && &t_ZH != '') || 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 diff --git a/doc/artesanal.txt b/doc/artesanal.txt index f13cb89..d185f50 100644 --- a/doc/artesanal.txt +++ b/doc/artesanal.txt @@ -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 diff --git a/templates/_common.colortemplate b/templates/_common.colortemplate index 46790f1..25b2df2 100644 --- a/templates/_common.colortemplate +++ b/templates/_common.colortemplate @@ -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