<commit_before>neovim-dependencies:
   pkg.installed:
    - pkgs:
      - python-dev
      - python-pip
      - python3-dev
      - python3-pip
      
neovim-ppa:
  pkgrepo.managed:
    - ppa: neovim-ppa/unstable
    - require_in:
  pkg.latest:
    - name: neovim
    - refresh: True<commit_msg>Add neovim config<commit_after>neovim-dependencies:
   pkg.installed:
    - pkgs:
      - python-dev
      - python-pip
      - python3-dev
      - python3-pip

neovim:
  pip.installed:
    - name: neovim
    - require:
      - pkg: neovim-dependencies

neovim3:
  pip.installed:
    - name: neovim
    - bin_env: '/usr/bin/pip3'
    - require:
      - pkg: neovim-dependencies

neovim-ppa:
  pkgrepo.managed:
    - ppa: neovim-ppa/unstable
    - require_in:
  pkg.latest:
    - name: neovim
    - refresh: True

{% for user, _ in salt['pillar.get']('users', {}).iteritems() %}
neovim-config:
  git.latest:
    - name: https://github.com/zheli/neovim-config.git
    - target: /home/{{ user }}/src/neovim-config
    - require_in:
      - neovim-config-link

neovim-config-link:
  file.symlink:
    - name: /home/{{ user }}/.config/nvim
    - target: /home/{{ user }}/src/neovim-config
    - makedirs: True
    - user: {{ user }}
    - group: {{ user }}
{% endfor %}
{'fraction_non_alphanumeric': 0.14932486100079428, 'fraction_numerical': 0.004765687053216839, 'mean_word_length': 2.058252427184466, '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': '795413', 'n_tokens_mistral': 517, 'n_tokens_neox': 482, 'n_words': 83}