<commit_before>---

- name: VIM - Ubuntu - Add Vim8 repository
  become: yes
  become_method: 'sudo'
  apt_repository:
    repo: "ppa:jonathonf/vim"
    state: present
  when: ansible_distribution == 'Ubuntu'

- name: VIM - Ubuntu - Install vim with Apt
  become: yes
  become_method: 'sudo'
  apt: name=vim state=latest update_cache=yes cache_valid_time=43200
  when: ansible_distribution == 'Ubuntu'

- name: VIM - MacOSX - Install vim with Homebrew
  homebrew: name=vim
    state=latest
  when: ansible_distribution == 'MacOSX'

- name: VIM - MacOSX - Install nvim with Homebrew
  homebrew: name=nvim
    state=latest
  when: ansible_distribution == 'MacOSX'

- name: VIM - Symlink vimrc
  file:
    src: ~/.devenv/roles/editor/files/vimrc
    dest: ~/.vimrc
    state: link
    force: true
  tags:
    - dotfile

- name: NVIM - create nvim config dir
  file: path=~/.config/nvim
        state=directory
        mode=0755

- name: NVIM - Symlink nvim/init.vim
  file:
    src: ~/.devenv/roles/editor/files/vimrc
    dest: ~/.config/nvim/init.vim
    state: link
    force: true
  tags:
    - dotfile

- name: NVIM - pip tools for nvim
  shell: pip install setuptools && pip  install --upgrade neovim && pip2 install --upgrade neovim && pip3 install --upgrade neovim
<commit_msg>limit python nvim fix to osx<commit_after>---

- name: VIM - Ubuntu - Add Vim8 repository
  become: yes
  become_method: 'sudo'
  apt_repository:
    repo: "ppa:jonathonf/vim"
    state: present
  when: ansible_distribution == 'Ubuntu'

- name: VIM - Ubuntu - Install vim with Apt
  become: yes
  become_method: 'sudo'
  apt: name=vim state=latest update_cache=yes cache_valid_time=43200
  when: ansible_distribution == 'Ubuntu'

- name: VIM - MacOSX - Install vim with Homebrew
  homebrew: name=vim
    state=latest
  when: ansible_distribution == 'MacOSX'

- name: VIM - MacOSX - Install nvim with Homebrew
  homebrew: name=nvim
    state=latest
  when: ansible_distribution == 'MacOSX'

- name: VIM - Symlink vimrc
  file:
    src: ~/.devenv/roles/editor/files/vimrc
    dest: ~/.vimrc
    state: link
    force: true
  tags:
    - dotfile

- name: NVIM - create nvim config dir
  file: path=~/.config/nvim
        state=directory
        mode=0755

- name: NVIM - Symlink nvim/init.vim
  file:
    src: ~/.devenv/roles/editor/files/vimrc
    dest: ~/.config/nvim/init.vim
    state: link
    force: true
  tags:
    - dotfile

- name: NVIM - OSX - pip tools for nvim
  shell: pip install setuptools && pip  install --upgrade neovim && pip2 install --upgrade neovim && pip3 install --upgrade neovim
  when: ansible_distribution == 'MacOSX'


{'fraction_non_alphanumeric': 0.10895238095238095, 'fraction_numerical': 0.009142857142857144, 'mean_word_length': 2.9077380952380953, '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': '2981771', 'n_tokens_mistral': 995, 'n_tokens_neox': 934, 'n_words': 261}