app-editors/neovim-gtk: add MimeType to desktop entry

This commit is contained in:
Julian Ospald 2018-06-15 20:25:15 +02:00
parent c7d218beda
commit 83386b0d6e
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require desktop-utils
require desktop-utils freedesktop-desktop
require cargo [ channel=stable ]
require github [ user=daa84 tag="v${PV}" ]
@ -15,6 +15,7 @@ BUGS_TO="hasufell@posteo.de"
src_install() {
ecargo_install
install_desktop_entry Exec="nvim-gtk"
install_desktop_entry Exec="nvim-gtk" \
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++;"
}