Add gvim-coc.desktop launcher

This commit is contained in:
Anthony Rose 2021-03-09 17:27:06 +00:00
parent 2e3c599014
commit 219d8e99db
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[Desktop Entry]
Name=GVim COC
GenericName=Text Editor and IDE
Comment=GVim with COC enabled
TryExec=gvim
Exec=env VIMCOC=yes gvim -f %F
Terminal=false
Type=Application
Keywords=Text;editor;
Icon=gvim
Categories=Utility;TextEditor;
StartupNotify=true
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;

View file

@ -59,3 +59,7 @@
dest: "{{ ansible_env.HOME }}/.local/share/applications/chromium-browser.desktop" dest: "{{ ansible_env.HOME }}/.local/share/applications/chromium-browser.desktop"
vars: vars:
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}" prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
- name: Add GVim COC launcher
ansible.builtin.copy:
src: gvim-coc.desktop
dest: "{{ ansible_env.HOME }}/.local/share/applications/gvim-coc.desktop"