paulbsd-salt/states/neovim/install.sls

23 lines
421 B
Plaintext
Raw Normal View History

2022-05-14 11:23:16 +02:00
---
{%- from "neovim/map.jinja" import neovim with context %}
neovim-pkg:
2022-12-24 17:48:15 +01:00
pkg.installed:
2022-05-14 11:23:16 +02:00
- pkgs:
- git
- neovim
neovim-neovimfiles-directory:
file.directory:
- name: {{ neovim.plugins_dir }}
- makedirs: true
neovim-colors-directory:
file.directory:
- name: {{ neovim.colors_dir }}
2022-12-24 17:48:15 +01:00
- makedirs: true
2023-01-04 23:34:36 +01:00
neovim-alternative:
alternatives.set:
- name: vim
- path: /usr/bin/nvim