<commit_before><%
# Vim Template
# <NAME> (http://chriskempson.com)

%>" Base16 <%= @scheme %> (https://github.com/chriskempson/base16)
" Scheme: <%= @author %>

" GUI Base16 Color Definitions
let s:gui00 = "<%= @base["00"]["hex"] %>"
let s:gui01 = "<%= @base["01"]["hex"] %>"
let s:gui02 = "<%= @base["02"]["hex"] %>"
let s:gui03 = "<%= @base["03"]["hex"] %>"
let s:gui04 = "<%= @base["04"]["hex"] %>"
let s:gui05 = "<%= @base["05"]["hex"] %>"
let s:gui06 = "<%= @base["06"]["hex"] %>"
let s:gui07 = "<%= @base["07"]["hex"] %>"
let s:gui08 = "<%= @base["08"]["hex"] %>"
let s:gui09 = "<%= @base["09"]["hex"] %>"
let s:gui0A = "<%= @base["0A"]["hex"] %>"
let s:gui0B = "<%= @base["0B"]["hex"] %>"
let s:gui0C = "<%= @base["0C"]["hex"] %>"
let s:gui0D = "<%= @base["0D"]["hex"] %>"
let s:gui0E = "<%= @base["0E"]["hex"] %>"
let s:gui0F = "<%= @base["0F"]["hex"] %>"

" Terminal Base16 Color Definitions
let s:cterm00 = "00"
let s:cterm03 = "08"
let s:cterm05 = "07"
let s:cterm07 = "15"
let s:cterm08 = "01"
let s:cterm0A = "03"
let s:cterm0B = "02"
let s:cterm0C = "06"
let s:cterm0D = "04"
let s:cterm0E = "05"
if exists('base16colorspace') && base16colorspace == "256"
  let s:cterm01 = "18"
  let s:cterm02 = "19"
  let s:cterm04 = "20"
  let s:cterm06 = "21"
  let s:cterm09 = "16"
  let s:cterm0F = "17"
else
  let s:cterm01 = "10"
  let s:cterm02 = "11"
  let s:cterm04 = "12"
  let s:cterm06 = "13"
  let s:cterm09 = "09"
  let s:cterm0F = "14"
endif

" Theme Setup
hi clear
syntax reset
let g:colors_name = "base16-<%= @slug %>"

" Highlighting function
fun! <SID>hi(group, guifg, guibg, ctermfg, ctermbg, attr)
  if a:guifg != ""
    exec "hi " . a:group . " guifg=#" . a:guifg
  endif
  if a:guibg != ""
    exec "hi " . a:group . " guibg=#" . a:guibg
  endif
  if a:ctermfg != ""
    exec "hi " . a:group . " ctermfg=" . a:ctermfg
  endif
  if a:ctermbg != ""
    exec "hi " . a:group . " ctermbg=" . a:ctermbg
  endif
  if a:attr != ""
    exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
  endif
endfun

" Vim Editor Colors
call <SID>hi("Bold",          "", "", "", "", "bold")
call <SID>hi("Debug",         s:gui08, "", s:cterm08, "", "")
call <SID>hi("Directory",     s:gui0D, "", s:cterm0D, "", "")
call <SID>hi("ErrorMsg",      s:gui08, s:gui00, s:cterm08, s:cterm00, "")
call <SID>hi("Exception",     s:gui08, "", s:cterm08, "", "")
call <SID>hi("FoldColumn",    "", s:gui01, "", s:cterm01, "")
call <SID>hi("Folded",        s:gui03, s:gui01, s:cterm03, s:cterm01, "")
call <SID>hi("IncSearch",     s:gui0A, "", s:cterm0A, "", "")
call <SID>hi("Italic",        "", "", "", "", "none")
call <SID>hi("Macro",         s:gui08, "", s:cterm08, "", "")
call <SID>hi("MatchParen",    s:gui0A, s:gui01, s:cterm0A, s:cterm01,  "reverse")
call <SID>hi("ModeMsg",       s:gui0B, "", s:cterm0B, "", "")
call <SID>hi("MoreMsg",       s:gui0B, "", s:cterm0B, "", "")
call <SID>hi("Question",      s:gui0A, "", s:cterm0A, "", "")
call <SID>hi("Search",        s:gui0A, s:gui01, s:cterm0A, s:cterm01,  "reverse")
call <SID>hi("SpecialKey",    s:gui03, "", s:cterm03, "", "")
call <SID>hi("Title",         s:gui05, s:gui01, s:cterm05, s:cterm01, "reverse")
call <SID>hi("TooLong",       s:gui08, "", s:cterm08, "", "")
call <SID>hi("Underlined",    s:gui08, "", s:cterm08, "", "")
call <SID>hi("Visual",        "", s:gui02, "", s:cterm02, "")
call <SID>hi("VisualNOS",     s:gui08, "", s:cterm08, "", "")
call <SID>hi("WarningMsg",    s:gui08, "", s:cterm08, "", "")
call <SID>hi("WildMenu",      s:gui08, "", s:cterm08, "", "")

if &background == "dark"
  call <SID>hi("Cursor",        s:gui00, s:gui05, s:cterm00, s:cterm05, "")
  call <SID>hi("NonText",       s:gui03, "", s:cterm03, "", "")
  call <SID>hi("Normal",        s:gui05, s:gui00, s:cterm05, s:cterm00, "")
  call <SID>hi("LineNr",        s:gui03, s:gui01, s:cterm03, s:cterm01, "")
  call <SID>hi("SpecialKey",    s:gui03, "", s:cterm03, "", "")
  call <SID>hi("StatusLine",    s:gui04, s:gui02, s:cterm04, s:cterm02, "none")
  call <SID>hi("StatusLineNC",  s:gui03, s:gui01, s:cterm03, s:cterm01, "none")
  call <SID>hi("VertSplit",     s:gui02, s:gui02, s:cterm02, s:cterm02, "none")
<commit_msg>Changes Vim MatchParen color to base04<commit_after><%
# Vim Template
# <NAME> (http://chriskempson.com)

%>" Base16 <%= @scheme %> (https://github.com/chriskempson/base16)
" Scheme: <%= @author %>

" GUI Base16 Color Definitions
let s:gui00 = "<%= @base["00"]["hex"] %>"
let s:gui01 = "<%= @base["01"]["hex"] %>"
let s:gui02 = "<%= @base["02"]["hex"] %>"
let s:gui03 = "<%= @base["03"]["hex"] %>"
let s:gui04 = "<%= @base["04"]["hex"] %>"
let s:gui05 = "<%= @base["05"]["hex"] %>"
let s:gui06 = "<%= @base["06"]["hex"] %>"
let s:gui07 = "<%= @base["07"]["hex"] %>"
let s:gui08 = "<%= @base["08"]["hex"] %>"
let s:gui09 = "<%= @base["09"]["hex"] %>"
let s:gui0A = "<%= @base["0A"]["hex"] %>"
let s:gui0B = "<%= @base["0B"]["hex"] %>"
let s:gui0C = "<%= @base["0C"]["hex"] %>"
let s:gui0D = "<%= @base["0D"]["hex"] %>"
let s:gui0E = "<%= @base["0E"]["hex"] %>"
let s:gui0F = "<%= @base["0F"]["hex"] %>"

" Terminal Base16 Color Definitions
let s:cterm00 = "00"
let s:cterm03 = "08"
let s:cterm05 = "07"
let s:cterm07 = "15"
let s:cterm08 = "01"
let s:cterm0A = "03"
let s:cterm0B = "02"
let s:cterm0C = "06"
let s:cterm0D = "04"
let s:cterm0E = "05"
if exists('base16colorspace') && base16colorspace == "256"
  let s:cterm01 = "18"
  let s:cterm02 = "19"
  let s:cterm04 = "20"
  let s:cterm06 = "21"
  let s:cterm09 = "16"
  let s:cterm0F = "17"
else
  let s:cterm01 = "10"
  let s:cterm02 = "11"
  let s:cterm04 = "12"
  let s:cterm06 = "13"
  let s:cterm09 = "09"
  let s:cterm0F = "14"
endif

" Theme Setup
hi clear
syntax reset
let g:colors_name = "base16-<%= @slug %>"

" Highlighting function
fun! <SID>hi(group, guifg, guibg, ctermfg, ctermbg, attr)
  if a:guifg != ""
    exec "hi " . a:group . " guifg=#" . a:guifg
  endif
  if a:guibg != ""
    exec "hi " . a:group . " guibg=#" . a:guibg
  endif
  if a:ctermfg != ""
    exec "hi " . a:group . " ctermfg=" . a:ctermfg
  endif
  if a:ctermbg != ""
    exec "hi " . a:group . " ctermbg=" . a:ctermbg
  endif
  if a:attr != ""
    exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
  endif
endfun

" Vim Editor Colors
call <SID>hi("Bold",          "", "", "", "", "bold")
call <SID>hi("Debug",         s:gui08, "", s:cterm08, "", "")
call <SID>hi("Directory",     s:gui0D, "", s:cterm0D, "", "")
call <SID>hi("ErrorMsg",      s:gui08, s:gui00, s:cterm08, s:cterm00, "")
call <SID>hi("Exception",     s:gui08, "", s:cterm08, "", "")
call <SID>hi("FoldColumn",    "", s:gui01, "", s:cterm01, "")
call <SID>hi("Folded",        s:gui03, s:gui01, s:cterm03, s:cterm01, "")
call <SID>hi("IncSearch",     s:gui0A, "", s:cterm0A, "", "")
call <SID>hi("Italic",        "", "", "", "", "none")
call <SID>hi("Macro",         s:gui08, "", s:cterm08, "", "")
call <SID>hi("MatchParen",    s:gui04, s:gui00, s:cterm04, s:cterm00,  "reverse")
call <SID>hi("ModeMsg",       s:gui0B, "", s:cterm0B, "", "")
call <SID>hi("MoreMsg",       s:gui0B, "", s:cterm0B, "", "")
call <SID>hi("Question",      s:gui0A, "", s:cterm0A, "", "")
call <SID>hi("Search",        s:gui0A, s:gui01, s:cterm0A, s:cterm01,  "reverse")
call <SID>hi("SpecialKey",    s:gui03, "", s:cterm03, "", "")
call <SID>hi("Title",         s:gui05, s:gui01, s:cterm05, s:cterm01, "reverse")
call <SID>hi("TooLong",       s:gui08, "", s:cterm08, "", "")
call <SID>hi("Underlined",    s:gui08, "", s:cterm08, "", "")
call <SID>hi("Visual",        "", s:gui02, "", s:cterm02, "")
call <SID>hi("VisualNOS",     s:gui08, "", s:cterm08, "", "")
call <SID>hi("WarningMsg",    s:gui08, "", s:cterm08, "", "")
call <SID>hi("WildMenu",      s:gui08, "", s:cterm08, "", "")

if &background == "dark"
  call <SID>hi("Cursor",        s:gui00, s:gui05, s:cterm00, s:cterm05, "")
  call <SID>hi("NonText",       s:gui03, "", s:cterm03, "", "")
  call <SID>hi("Normal",        s:gui05, s:gui00, s:cterm05, s:cterm00, "")
  call <SID>hi("LineNr",        s:gui03, s:gui01, s:cterm03, s:cterm01, "")
  call <SID>hi("SpecialKey",    s:gui03, "", s:cterm03, "", "")
  call <SID>hi("StatusLine",    s:gui04, s:gui02, s:cterm04, s:cterm02, "none")
  call <SID>hi("StatusLineNC",  s:gui03, s:gui01, s:cterm03, s:cterm01, "none")
  call <SID>hi("VertSplit",     s:gui02, s:gui02, s:cterm02, s:cterm02, "none")

{'fraction_non_alphanumeric': 0.2652500895308583, 'fraction_numerical': 0.0711471887310493, 'mean_word_length': 4.046987951807229, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 109, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7210372', 'n_tokens_mistral': 4061, 'n_tokens_neox': 3727, 'n_words': 717}