<commit_before>class Vim < Formula
  desc "Vi 'workalike' with many additional features"
  homepage "https://www.vim.org/"
  # vim should only be updated every 50 releases on multiples of 50
  url "https://github.com/vim/vim/archive/v8.2.1000.tar.gz"
  sha256 "94a4e704065dcf2c1848cc67457daa51e221c075f379aa39fa4de6833012446c"
  revision 1
  head "https://github.com/vim/vim.git"

  bottle do
    sha256 "4d5b4097a2795bad5250ecb1d8723e0eb9752e7f814c8cc0c6c402bfbc7bdb61" => :catalina
    sha256 "3f36dd7c91e937512de009422062ed48185d21a460eb17dcfa3010fb40251c30" => :mojave
    sha256 "612d512d26c1787ef744b6e716b02777f3ad4838eacfa98a10030a31d88fff78" => :high_sierra
  end

  depends_on "gettext"
  depends_on "lua"
  depends_on "perl"
  depends_on "python@3.8"
  depends_on "ruby"

  uses_from_macos "ncurses"

  conflicts_with "ex-vi",
    :because => "vim and ex-vi both install bin/ex and bin/view"

  conflicts_with "macvim",
    :because => "vim and macvim both install vi* binaries"

  def install
    ENV.prepend_path "PATH", Formula["python@3.8"].opt_libexec/"bin"

    # https://github.com/Homebrew/homebrew-core/pull/1046<commit_msg>vim: update 8.2.1000_1 bottle.<commit_after>class Vim < Formula
  desc "Vi 'workalike' with many additional features"
  homepage "https://www.vim.org/"
  # vim should only be updated every 50 releases on multiples of 50
  url "https://github.com/vim/vim/archive/v8.2.1000.tar.gz"
  sha256 "94a4e704065dcf2c1848cc67457daa51e221c075f379aa39fa4de6833012446c"
  revision 1
  head "https://github.com/vim/vim.git"

  bottle do
    sha256 "91078bdd0547f2c0561b34af4359f87b9c7121e055e2f30e07e369d390e9ee57" => :catalina
    sha256 "4830d5da592921d338974927f5740d8191658265b859adae73e159ea11658a15" => :mojave
    sha256 "5c3b290dbe165025b8784bab84618d6244213440256332eded73c5705136789a" => :high_sierra
  end

  depends_on "gettext"
  depends_on "lua"
  depends_on "perl"
  depends_on "python@3.8"
  depends_on "ruby"

  uses_from_macos "ncurses"

  conflicts_with "ex-vi",
    :because => "vim and ex-vi both install bin/ex and bin/view"

  conflicts_with "macvim",
    :because => "vim and macvim both install vi* binaries"

  def install
    ENV.prepend_path "PATH", Formula["python@3.8"].opt_libexec/"bin"

    # https://github.com/Homebrew/homebrew-core/pull/1046
{'fraction_non_alphanumeric': 0.10238611713665943, 'fraction_numerical': 0.18177874186550977, 'mean_word_length': 4.665847665847666, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '2430500', 'n_tokens_mistral': 1194, 'n_tokens_neox': 947, 'n_words': 168}