<commit_before>" Hooks to be used with plug.vim for bundles.
"
" a:info.status == 'installed' Plugin was installed
" a:info.status == 'updated' Plugin was updated
" a:info.force Bang (!) issued to command

function! hooks#YCMInstall(info)
  let opts =  '--clang-completer '
  if executable('go')
    let opts .= '--gocode-completer '
  endif
  if executable('mono')
    let opts .= '--omnisharp-completer '
  endif
  if executable('nodejs') && executable('npm')
    let opts .= '--tern-completer '
  endif
  if executable('rustc')
    let opts .= '--racer-completer '
  endif
  silent execute '! ./install.py ' . opts . '>/tmp/YCMBuild 2>&1 &'
  redraw!
endfunction<commit_msg>Disable mono completer.<commit_after>" Hooks to be used with plug.vim for bundles.
"
" a:info.status == 'installed' Plugin was installed
" a:info.status == 'updated' Plugin was updated
" a:info.force Bang (!) issued to command

function! hooks#YCMInstall(info)
  let opts =  '--clang-completer '
  if executable('go')
    let opts .= '--gocode-completer '
  endif
  "if executable('mono')
    "let opts .= '--omnisharp-completer '
  "endif
  if executable('nodejs') && executable('npm')
    let opts .= '--tern-completer '
  endif
  if executable('rustc')
    let opts .= '--racer-completer '
  endif
  silent execute '! ./install.py ' . opts . '>/tmp/YCMBuild 2>&1 &'
  redraw!
endfunction
{'fraction_non_alphanumeric': 0.15508412582297001, 'fraction_numerical': 0.002926115581565472, 'mean_word_length': 3.356687898089172, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5421556', 'n_tokens_mistral': 502, 'n_tokens_neox': 459, 'n_words': 125}