Created
January 7, 2016 17:32
-
-
Save magnetophon/866defaf93e6ea8a354b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq extra-langs-packages | |
'( | |
arduino-mode | |
(faust-mode :location (recipe | |
:fetcher github | |
:repo "rukano/emacs-faust-mode")) | |
julia-mode | |
matlab-mode | |
qml-mode | |
scad-mode | |
stan-mode | |
wolfram-mode | |
)) | |
(defun extra-langs/init-arduino-mode () | |
(use-package arduino-mode :defer t)) | |
(defun extra-langs/init-faust-mode () | |
(use-package faust-mode :defer t :mode "\\.dsp\\'")) | |
(defun extra-langs/init-scad-mode () | |
(use-package scad-mode :defer t)) | |
(defun extra-langs/init-qml-mode () | |
(use-package qml-mode :defer t :mode "\\.qml\\'")) | |
(defun extra-langs/init-julia-mode () | |
(use-package julia-mode :defer t)) | |
(defun extra-langs/init-matlab-mode () | |
(use-package matlab-mode :defer t)) | |
(defun extra-langs/init-stan-mode () | |
(use-package stan-mode :defer t)) | |
;; no associated extension because conflicts with more common Objective-C, manually invoke for .m files. | |
(defun extra-langs/init-wolfram-mode () | |
(use-package wolfram-mode | |
:defer t | |
:interpreter "\\(Wolfram\\|Mathematica\\)Script\\( -script\\)?")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment