default text editor to neovim

This commit is contained in:
Pim Kunis 2023-02-01 18:46:38 +01:00
parent cbae9439e3
commit c093037763
3 changed files with 19 additions and 1 deletions

View file

@ -47,3 +47,10 @@
- name: Install terraform-ls
apt:
pkg: terraform-ls
- name: Set default applications
ini_file:
path: ~/.config/mimeapps.list
section: "Default Applications"
option: "{{ item }}"
value: "nvim.desktop"
loop: "{{ default_apps }}"

View file

@ -0,0 +1,11 @@
default_apps:
- application/x-perl
- text/plain
- text/x-chdr
- text/x-csrc
- text/x-dtd
- text/x-java
- text/mathml
- text/x-python
- text/x-sql
- text/xml