Updated arch config
This commit is contained in:
parent
7bacbc8662
commit
d2b7c0fd5d
10 changed files with 119 additions and 30 deletions
|
@ -4,7 +4,8 @@
|
|||
name:
|
||||
- nodejs
|
||||
- npm
|
||||
- python3
|
||||
- python
|
||||
- python-pip
|
||||
- ripgrep
|
||||
state: latest
|
||||
|
||||
|
@ -16,28 +17,11 @@
|
|||
state: latest
|
||||
extra_args: --user
|
||||
|
||||
- name: download neovim appimage
|
||||
get_url:
|
||||
url: https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
|
||||
dest: /tmp
|
||||
mode: "0755"
|
||||
|
||||
- name: extract neovim appimage
|
||||
shell: |
|
||||
rm -rf /usr/local/bin/nvim.appimage
|
||||
/tmp/nvim.appimage --appimage-extract
|
||||
mv squashfs-root /usr/local/bin/nvim.appimage
|
||||
chmod -R 4755 /usr/local/bin/nvim.appimage
|
||||
chmod -R -s /usr/local/bin/nvim.appimage
|
||||
rm -f /tmp/nvim.appimage
|
||||
args:
|
||||
chdir: /tmp
|
||||
|
||||
- name: install neovim link
|
||||
alternatives:
|
||||
name: nvim
|
||||
path: /usr/local/bin/nvim.appimage/usr/bin/nvim
|
||||
link: /usr/bin/nvim
|
||||
- name: install neovim
|
||||
package:
|
||||
name:
|
||||
- neovim
|
||||
state: latest
|
||||
|
||||
- name: create nvim plugin directory
|
||||
become_user: "{{ account.name }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue