<commit_before>" Vim plugin file
" Language:    JS Lib syntax loader
" Maintainer:  othree <<EMAIL>>
" Last Change: 2013/02/24
" Version:     0.3
" URL:         https://github.com/othree/javascript-libraries-syntax.vim

function! jslibsyntax#load(path)
  if exists('b:javascript_libraries_syntax')
    return
  endif
  let b:javascript_libraries_syntax = 1

  let libs = ['jquery', 'underscore', 'backbone', 'prelude', 'angularjs']
  if !exists('g:used_javascript_libs') 
    let g:used_javascript_libs = join(libs, ',')
  endif

  let index = 0
  let loaded = 0
  while index < len(libs)
    let lib = libs[index]
    if g:used_javascript_libs =~ lib
      let fn = a:path.'/autoload/syntax/'.lib.'.vim'
      echom fn
      if filereadable(fn)
        exe('source '.fn)
        let loaded = loaded + 1
      endif
    endif
    let index = index + 1
  endwhile
  if loaded > 0
    exe('source '.a:path.'/autoload/syntax/postprocess.vim')
  endif
endfunction

<commit_msg>Remove echom<commit_after>" Vim plugin file
" Language:    JS Lib syntax loader
" Maintainer:  othree <<EMAIL>>
" Last Change: 2013/02/24
" Version:     0.3
" URL:         https://github.com/othree/javascript-libraries-syntax.vim

function! jslibsyntax#load(path)
  if exists('b:javascript_libraries_syntax')
    return
  endif
  let b:javascript_libraries_syntax = 1

  let libs = ['jquery', 'underscore', 'backbone', 'prelude', 'angularjs']
  if !exists('g:used_javascript_libs') 
    let g:used_javascript_libs = join(libs, ',')
  endif

  let index = 0
  let loaded = 0
  while index < len(libs)
    let lib = libs[index]
    if g:used_javascript_libs =~ lib
      let fn = a:path.'/autoload/syntax/'.lib.'.vim'
      if filereadable(fn)
        exe('source '.fn)
        let loaded = loaded + 1
      endif
    endif
    let index = index + 1
  endwhile
  if loaded > 0
    exe('source '.a:path.'/autoload/syntax/postprocess.vim')
  endif
endfunction


{'fraction_non_alphanumeric': 0.12538860103626942, 'fraction_numerical': 0.016580310880829015, 'mean_word_length': 3.05672268907563, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7452512', 'n_tokens_mistral': 736, 'n_tokens_neox': 654, 'n_words': 165}