<commit_before>#!/usr/bin/env bash

koopa::install_vim() { # {{{1
    koopa::install_app \
        --name='vim' \
        --name-fancy='Vim' \
        "$@"
}

koopa:::install_vim() { # {{{1
    # """
    # Install Vim.
    # @note Updated 2021-05-25.
    # """
    local conf_args file jobs make name prefix python python_config
    local python_config_dir url version
    prefix="${INSTALL_PREFIX:?}"
    version="${INSTALL_VERSION:?}"
    make="$(koopa::locate_make)"
    jobs="$(koopa::cpu_count)"
    if koopa::is_linux<commit_msg>Simplify compile arguments for vim on linux<commit_after>#!/usr/bin/env bash

koopa::install_vim() { # {{{1
    koopa::install_app \
        --name='vim' \
        --name-fancy='Vim' \
        "$@"
}

koopa:::install_vim() { # {{{1
    # """
    # Install Vim.
    # @note Updated 2021-05-25.
    #
    # On Ubuntu, '--enable-rubyinterp' currently causing a false positive error
    # related to ncurses, even when '--with-tlib' is correctly set.
    #
    # @seealso
    # - https://github.com/vim/vim/issues/1081
    # """
    local conf_args file jobs make name prefix python python_config
    local python_config_dir url version
    prefix="${INSTALL_PREFIX:?}"
    version="${INSTALL_VERSION:?}"
    make="$(koopa::locate_make)"
    jobs="$(koopa::cpu_count)"
    if koopa::is_linux
{'fraction_non_alphanumeric': 0.1686838124054463, 'fraction_numerical': 0.018154311649016642, 'mean_word_length': 2.8347826086956522, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5036717', 'n_tokens_mistral': 503, 'n_tokens_neox': 449, 'n_words': 91}