<commit_before>if !has('python')
    finish
endif

highlight PreprocessorGrayout ctermbg=gray guibg=gray
sign define PreprocessorGrayout linehl=PreprocessorGrayout

let g:grayout_debug = 1

function! UpdateGrayout()
    if !exists("b:num_grayout_lines")
        let b:num_grayout_lines = 0
    endif
    pyfile grayout.py
endfunction<commit_msg>Add source guards<commit_after>if !has('python')
    echoerr "This plugin requires python."
    finish
endif

if exists('vim_c_grayout_loaded')
    finish
else
    let g:vim_c_grayout_loaded = 1
    let g:grayout_debug = 0

    highlight PreprocessorGrayout cterm=italic gui=italic ctermfg=DarkGray guifg=DarkGray
    sign define PreprocessorGrayout linehl=PreprocessorGrayout
endif

function! UpdateGrayout()
    if !exists("b:num_grayout_lines")
        let b:num_grayout_lines = 0
    endif
    pyfile grayout.py
endfunction
{'fraction_non_alphanumeric': 0.06995412844036697, 'fraction_numerical': 0.005733944954128441, 'mean_word_length': 4.6688311688311686, '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': '7441553', 'n_tokens_mistral': 306, 'n_tokens_neox': 284, 'n_words': 68}