<commit_before>if exists("b:done_vimsnippets")
   finish
endif
let b:done_vimsnippets = 1

" Some variables need default value
let s:has_git = executable('git')

if !exists("g:snips_author")
    if s:has_git
        let s:author = substitute(system('git config --global user.name'), '\n', '', 'g')
        if s:author == ''
            let g:snips_author = "yourname"
        else
            let g:snips_author = s:author
        endif
    else
        let g:snips_author = "yourname"
    endif
endif

if !exists("g:snips_email")
    if s:has_git
        let s:email = substitute(system('git config --global user.email'), '\n', '', 'g')
        if s:email == ''
            let g:snips_email = "<EMAIL>"
        else
            let g:snips_email = s:email
        endif
    else
        let g:snips_email = "<EMAIL>"
    endif
endif

if !exists("g:snips_github")
    let g:snips_github = "https://github.com/" . g:snips_author
endif


" Expanding the path is not needed on Vim 7.4
if &cp || version >= 704
    finish
endif

" Add pythonx to the python search path if needed (i.e. <= Vim 7.3).
if !has("python") && !has("python3")
   finish
end

" This will fail if UltiSnips is not installed.
try
   call UltiSnips#bootstrap#Bootstrap()
catch /E117/
   finish
endtry

<commit_msg>Do not call external processes during plugin initialization<commit_after>if exists("b:done_vimsnippets")
   finish
endif
let b:done_vimsnippets = 1

" Some variables need default value
if !exists("g:snips_author")
    let g:snips_author = "yourname"
endif

if !exists("g:snips_email")
    let g:snips_email = "<EMAIL>"
endif

if !exists("g:snips_github")
    let g:snips_github = "https://github.com/yourname"
endif

" Expanding the path is not needed on Vim 7.4
if &cp || version >= 704
    finish
endif

" Add pythonx to the python search path if needed (i.e. <= Vim 7.3).
if !has("python") && !has("python3")
   finish
end

" This will fail if UltiSnips is not installed.
try
   call UltiSnips#bootstrap#Bootstrap()
catch /E117/
   finish
endtry


{'fraction_non_alphanumeric': 0.12106299212598425, 'fraction_numerical': 0.011811023622047244, 'mean_word_length': 3.090543259557344, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '4702022', 'n_tokens_mistral': 723, 'n_tokens_neox': 689, 'n_words': 209}