2015-04-19 03:40:24 +00:00
|
|
|
(setq extra-langs-packages
|
2015-02-09 16:01:36 +00:00
|
|
|
'(
|
|
|
|
arduino-mode
|
2015-04-10 20:38:24 +00:00
|
|
|
d-mode
|
2015-03-25 22:04:29 +00:00
|
|
|
idris-mode
|
2015-02-09 16:01:36 +00:00
|
|
|
julia-mode
|
2015-03-25 22:04:29 +00:00
|
|
|
nim-mode
|
2015-02-09 16:01:36 +00:00
|
|
|
nix-mode
|
2015-03-25 22:04:29 +00:00
|
|
|
qml-mode
|
2015-02-09 16:01:36 +00:00
|
|
|
rust-mode
|
2015-03-25 22:04:29 +00:00
|
|
|
scad-mode
|
2015-02-09 16:01:36 +00:00
|
|
|
wolfram-mode
|
2015-03-25 22:04:29 +00:00
|
|
|
yaml-mode
|
2015-02-09 16:01:36 +00:00
|
|
|
))
|
|
|
|
|
|
|
|
(defun extra-langs/init-arduino-mode ()
|
|
|
|
(use-package arduino-mode :defer t))
|
|
|
|
|
2015-04-10 20:38:24 +00:00
|
|
|
(defun extra-langs/init-d-mode ()
|
|
|
|
(use-package d-mode :defer t))
|
|
|
|
|
2015-02-09 16:01:36 +00:00
|
|
|
(defun extra-langs/init-idris-mode ()
|
|
|
|
(use-package idris-mode :defer t))
|
|
|
|
|
|
|
|
(defun extra-langs/init-scad-mode ()
|
|
|
|
(use-package scad-mode :defer t))
|
|
|
|
|
|
|
|
(defun extra-langs/init-nix-mode ()
|
|
|
|
(use-package nix-mode :defer t))
|
|
|
|
|
2015-03-25 22:04:29 +00:00
|
|
|
(defun extra-langs/init-nim-mode ()
|
|
|
|
(use-package nim-mode :defer t))
|
|
|
|
|
2015-02-09 16:01:36 +00:00
|
|
|
(defun extra-langs/init-qml-mode ()
|
|
|
|
(use-package qml-mode :defer t))
|
|
|
|
|
|
|
|
(defun extra-langs/init-julia-mode ()
|
|
|
|
(use-package julia-mode :defer t))
|
|
|
|
|
|
|
|
(defun extra-langs/init-yaml-mode ()
|
|
|
|
(use-package yaml-mode :defer t))
|
|
|
|
|
|
|
|
(defun extra-langs/init-rust-mode ()
|
2015-03-25 22:04:29 +00:00
|
|
|
(use-package rust-mode
|
|
|
|
:defer t
|
|
|
|
:config
|
|
|
|
(when (fboundp 'sp-local-pair) ; Don't pair lifetime specifiers
|
|
|
|
(sp-local-pair 'rust-mode "'" nil :actions nil))))
|
2015-02-09 16:01:36 +00:00
|
|
|
|
|
|
|
;; 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\\)?"))
|