<commit_before>#!/usr/bin/env bash
set -Eeuo pipefail

# Vim
# https://github.com/vim/vim

# Error on conda detection.
if [ -x "$(command -v conda)" ]
then
    echo "Error: conda is active." >&2
    exit 1
fi

sudo -v

# Install vim build dependencies, if necessary.
if [ -x "$(command -v yum)" ]
then
    sudo yum -y install yum-utils
    sudo yum-builddep -y vim
fi

PREFIX="/usr/local"
VERSION="8.1.0847"

wget "https://github.com/vim/vim/archive/v${VERSION}.tar.gz"
tar -xzvf "v${VERSION}.tar.gz"
cd "vim-${VERSION}" || return 1

./configure --prefix="$PREFIX"

make
make test
sudo make install<commit_msg>Update vim version [ci skip]<commit_after>#!/usr/bin/env bash
set -Eeuo pipefail

# Vim
# https://github.com/vim/vim

# Error on conda detection.
if [ -x "$(command -v conda)" ]
then
    echo "Error: conda is active." >&2
    exit 1
fi

sudo -v

# Install vim build dependencies, if necessary.
if [ -x "$(command -v yum)" ]
then
    sudo yum -y install yum-utils
    sudo yum-builddep -y vim
fi

PREFIX="/usr/local"
VERSION="8.1.0956"

wget "https://github.com/vim/vim/archive/v${VERSION}.tar.gz"
tar -xzvf "v${VERSION}.tar.gz"
cd "vim-${VERSION}" || return 1

./configure --prefix="$PREFIX"

make
make test
sudo make install
{'fraction_non_alphanumeric': 0.16356275303643725, 'fraction_numerical': 0.014574898785425101, 'mean_word_length': 3.247422680412371, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '3542750', 'n_tokens_mistral': 501, 'n_tokens_neox': 464, 'n_words': 141}