pinch-dotfiles/salty/base/neovim/init.sls
2017-03-18 03:20:46 -04:00

13 lines
299 B
Text

neovim-install:
{% if grains['os'] == 'Ubuntu' %}
pkgrepo.managed:
- ppa: neovim-ppa/stable
{% endif %}
pkg.installed:
{% if grains['kernel'] == 'Darwin' %}
- name: neovim
- taps: 'neovim/neovim'
{% elif grains['kernel'] == 'Linux' %}
- name: neovim
{% endif %}