diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 218608bb..2c91201f 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -129,6 +129,7 @@ application/x-perl = internal text/plain # Returned by xdg-mime for .php. Future-proofing application/x-php = internal text/plain application/x-rar = execm rclrar;charset=default +application/x-ruby = internal text/plain application/x-scribus = exec rclscribus application/x-shellscript = internal text/plain #application/x-tar = execm rcltar @@ -183,6 +184,7 @@ text/x-perl = internal text/plain text/x-purple-log = exec rclpurple text/x-purple-html-log = internal text/html text/x-python = exec rclpython +text/x-ruby = internal text/x-shellscript = internal text/plain text/x-srt = internal text/plain text/x-tex = exec rcltex @@ -256,6 +258,7 @@ application/x-okular-notes = document application/x-perl = source application/x-php = source application/x-rar = archive +application/x-ruby = source application/x-scribus = document application/x-scribus = wordprocessing application/x-shellscript = source @@ -311,6 +314,7 @@ text/x-php = source text/x-purple-html-log = pidgin text/x-purple-log = pidgin text/x-python = text-x-python +text/x-ruby = source text/x-shellscript = source text/x-srt = source text/x-tex = wordprocessing @@ -361,6 +365,7 @@ text = \ application/x-okular-notes \ application/x-perl \ application/x-php \ + application/x-ruby \ application/x-scribus \ application/x-shellscript \ application/x-tex \ @@ -390,8 +395,9 @@ text = \ text/x-perl \ text/x-php \ text/x-python \ + text/x-ruby \ text/x-shellscript \ - text/x-srt \ + text/x-srt spreadsheet = \ application/vnd.ms-excel \ diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index 6041a005..90db7ecd 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -40,6 +40,7 @@ .py = text/x-python .awk = application/x-awk .pl = application/x-perl +.rb = text/x-ruby .sh = application/x-shellscript .sql = application/sql .tcl = text/x-tcl diff --git a/src/sampleconf/mimeview b/src/sampleconf/mimeview index 3146d773..6bdd8bf3 100644 --- a/src/sampleconf/mimeview +++ b/src/sampleconf/mimeview @@ -170,12 +170,14 @@ application/x-csharp = emacsclient --no-wait %f application/x-java = emacsclient --no-wait %f application/x-perl = emacsclient --no-wait %f application/x-php = emacsclient --no-wait %f +application/x-ruby = emacsclient --no-wait %f application/x-shellscript = emacsclient --no-wait %f text/x-bibtex = emacsclient --no-wait %f text/css = emacsclient --no-wait %f text/x-csharp = emacsclient --no-wait %f text/x-java = emacsclient --no-wait %f text/x-perl = emacsclient --no-wait %f +text/x-ruby = emacsclient --no-wait %f text/x-shellscript = emacsclient --no-wait %f text/x-srt = emacsclient --no-wait %f