Fedora neovim nightly

This commit is contained in:
Anthony Cicchetti 2020-07-06 11:16:53 -04:00
parent 59445bfdbc
commit c845d36e44
5 changed files with 44 additions and 1 deletions

View file

@ -11,6 +11,10 @@
prompt: "Do you want to install rust extras?"
private: no
default: "no"
- name: _nightly_neovim
prompt: "Do you want neovim nightly?"
private: no
default: "no"
tasks:
- block:
- name: Set dev machine fact
@ -19,3 +23,6 @@
- name: Set rust extras fact
set_fact:
_rust_extras: "{{ _rust_extras }}"
- name: Set nightly neovim fact
set_fact:
_nightly_neovim: "{{ _nightly_neovim }}"

View file

@ -19,6 +19,7 @@
vars:
- dev_machine: "{{ _dev_machine }}"
- rust_extras: "{{ _rust_extras }}"
- nightly_neovim: "{{ _nightly_neovim }}"
- hosts: os_Fedora
gather_facts: True
@ -30,6 +31,7 @@
vars:
- dev_machine: "{{ _dev_machine }}"
- rust_extras: "{{ _rust_extras }}"
- nightly_neovim: "{{ _nightly_neovim }}"
- hosts: os_Archlinux
gather_facts: True
@ -41,6 +43,7 @@
vars:
- dev_machine: "{{ _dev_machine }}"
- rust_extras: "{{ _rust_extras }}"
- nightly_neovim: "{{ _nightly_neovim }}"
- hosts: os_Ubuntu
gather_facts: False
@ -52,6 +55,7 @@
vars:
- dev_machine: "{{ _dev_machine }}"
- rust_extras: "{{ _rust_extras }}"
- nightly_neovim: "{{ _nightly_neovim }}"
- hosts: os_openSUSE*
gather_facts: True
@ -63,4 +67,5 @@
vars:
- dev_machine: "{{ _dev_machine }}"
- rust_extras: "{{ _rust_extras }}"
- nightly_neovim: "{{ _nightly_neovim }}"

View file

@ -16,10 +16,12 @@
- cmake
- tmux
- gpg
- neovim
- fzf
- rsync
state: latest
- include_tasks: neovim-nightly.yaml
- name: Install @development-tools
when:
- dev_machine == true

View file

@ -0,0 +1,28 @@
---
- name: ensure copr command installed
become: yes
become_method: sudo
dnf:
name:
- dnf-command(copr)
state: latest
- name: Add neovim-nightly copr
become: yes
become_method: sudo
when:
- nightly_neovim == true
command:
cmd: dnf copr enable -y agriffis/neovim-nightly
warn: false
creates: /etc/yum.repos.d/_copr_agriffis_neovim-nightly.repo
- name: Install neovim-nightly
become: yes
become_method: sudo
when:
- nightly_neovim == true
dnf:
name:
- neovim
state: latest

View file

@ -5,6 +5,7 @@ set-option -sa terminal-overrides ',xterm-256color:RGB,alacritty:RGB'
# set mouse/history stuff
set -g mouse on
set -g history-limit 20000
set-option -g focus-events on
# rebind prefix
set -g prefix C-a