<commit_before>function! neoformat#formatters#ocaml#enabled() abort
    return ['ocamlformat', 'ocpindent']
endfunction

function! neoformat#formatters#ocaml#ocpindent() abort
    return {
        \ 'exe': 'ocp-indent',
        \ }
endfunction

function! neoformat#formatters#ocaml#ocamlformat() abort
    return {
        \ 'exe': 'ocamlformat',
        \ 'args': ['--name', '"%:p"']
        \ }
endfunction<commit_msg>Attempt to get neoformat working (#203)<commit_after>function! neoformat#formatters#ocaml#enabled() abort
    return ['ocamlformat', 'ocpindent']
endfunction

function! neoformat#formatters#ocaml#ocpindent() abort
    return {
        \ 'exe': 'ocp-indent',
        \ }
endfunction

function! neoformat#formatters#ocaml#ocamlformat() abort
    return {
        \ 'exe': 'ocamlformat',
        \ 'no_append': 1,
        \ 'stdin': 1,
        \ 'args': ['--name', '"%:p"', '-']
        \ }
endfunction
{'fraction_non_alphanumeric': 0.16213275299238303, 'fraction_numerical': 0.00544069640914037, 'mean_word_length': 3.1818181818181817, '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': '5202557', 'n_tokens_mistral': 317, 'n_tokens_neox': 298, 'n_words': 56}