summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/swift-mode/files/50swift-mode-gentoo.el')
-rw-r--r--app-emacs/swift-mode/files/50swift-mode-gentoo.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emacs/swift-mode/files/50swift-mode-gentoo.el b/app-emacs/swift-mode/files/50swift-mode-gentoo.el
new file mode 100644
index 000000000000..fa55ed725c57
--- /dev/null
+++ b/app-emacs/swift-mode/files/50swift-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'swift-mode "swift-mode"
+ "Major mode for editing Swift code." t)
+(add-to-list 'auto-mode-alist '("\\.swift\\'" . swift-mode))