summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/raku-mode/files/50raku-mode-gentoo.el')
-rw-r--r--app-emacs/raku-mode/files/50raku-mode-gentoo.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/app-emacs/raku-mode/files/50raku-mode-gentoo.el b/app-emacs/raku-mode/files/50raku-mode-gentoo.el
new file mode 100644
index 000000000000..49f659e0ab11
--- /dev/null
+++ b/app-emacs/raku-mode/files/50raku-mode-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'raku-mode "raku-mode"
+ "Major mode for editing Raku code." t)
+(add-to-list 'auto-mode-alist '("\\.nqp\\'" . raku-mode))
+(add-to-list 'auto-mode-alist '("\\.p[lm]?6\\'" . raku-mode))
+(add-to-list 'auto-mode-alist '("\\.raku\\(?:mod\\|test\\)?\\'" . raku-mode))
+(add-to-list 'interpreter-mode-alist '("perl6\\|raku" . raku-mode))