<commit_before>if filereadable("/usr/local/bin/matcher")

  let g:path_to_matcher = "/usr/local/bin/matcher"

  let g:ctrlp_user_command = ['.git/', 'cd %s && git ls-files . -co --exclude-standard']

  let g:ctrlp_match_func = { 'match': 'GoodMatch' }

  function! GoodMatch(items, str, limit, mmode, ispath, crfile, regex)

    " Create a cache file if not yet exists
    let cachefile = ctrlp#utils#cachedir().'/matcher.cache'
    if !( filereadable(cachefile) && a:items == readfile(cachefile) )
      call writefile(a:items, cachefile)
    endif
    if !filereadable(cachefile)
      return []
    endif

    " a:mmode is currently ignored. In the future, we should probably do
    " something about that. the matcher behaves like "full-line".
    let cmd = g:path_to_matcher.' --limit '.a:limit.' --manifest '.cachefile.' '
    if !( exists('g:ctrlp_dotfiles') && g:ctrlp_dotfiles )
      let cmd = cmd.'--no-dotfiles '
    endif
    let cmd = cmd.a:str

    return split(system(cmd), "\n")

  endfunction
else
  if isdirectory('~/.vim/bundle/matcher')
    echo "For better file matching compile and install `burke/matcher`"
    echo "cd ~/.vim/bundle/matcher"
    echo "make && sudo make install"
  endif
endif<commit_msg>Stop suggesting sudo make install for matcher<commit_after>if filereadable("/usr/local/bin/matcher")

  let g:path_to_matcher = "/usr/local/bin/matcher"

  let g:ctrlp_user_command = ['.git/', 'cd %s && git ls-files . -co --exclude-standard']

  let g:ctrlp_match_func = { 'match': 'GoodMatch' }

  function! GoodMatch(items, str, limit, mmode, ispath, crfile, regex)

    " Create a cache file if not yet exists
    let cachefile = ctrlp#utils#cachedir().'/matcher.cache'
    if !( filereadable(cachefile) && a:items == readfile(cachefile) )
      call writefile(a:items, cachefile)
    endif
    if !filereadable(cachefile)
      return []
    endif

    " a:mmode is currently ignored. In the future, we should probably do
    " something about that. the matcher behaves like "full-line".
    let cmd = g:path_to_matcher.' --limit '.a:limit.' --manifest '.cachefile.' '
    if !( exists('g:ctrlp_dotfiles') && g:ctrlp_dotfiles )
      let cmd = cmd.'--no-dotfiles '
    endif
    let cmd = cmd.a:str

    return split(system(cmd), "\n")

  endfunction
else
  if isdirectory('~/.vim/bundle/matcher')
    echo " * For better file matching compile and install `burke/matcher`"
    echo "cd ~/.vim/bundle/matcher"
    echo "make && make install # or sudo make install if necessary"
  endif
endif
{'fraction_non_alphanumeric': 0.13639968279143536, 'fraction_numerical': 0.0, 'mean_word_length': 3.2981260647359454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6295703', 'n_tokens_mistral': 872, 'n_tokens_neox': 822, 'n_words': 232}