Update modules/lang/*

This commit is contained in:
Henrik Lissner 2017-02-19 18:57:16 -05:00
parent f0adef1b01
commit e14e25ecb4
68 changed files with 1487 additions and 750 deletions

View file

@ -0,0 +1,14 @@
;;; lang/julia/autoload.el
;;;###autoload
(defun +julia/repl ()
"Run an inferior instance of `julia' inside Emacs."
(interactive)
(let ((buffer (get-buffer-create "*Julia*")))
(unless (comint-check-proc "*Julia*")
(apply #'make-comint-in-buffer "Julia" "*Julia*" julia-program julia-arguments))
(pop-to-buffer buffer)
(with-current-buffer buffer
(inferior-julia-mode))))

View file

@ -1,11 +1,8 @@
;;; module-julia.el
;;; lang/julia/config.el
(use-package julia-mode
:mode "\\.jl$"
:interpreter "julia"
:config
(def-docset! julia-mode "julia")
(def-repl! julia-mode doom/julia-repl))
(@set :repl 'julia-mode '+julia/repl))
(provide 'module-julia)
;;; module-julia.el ends here

View file

@ -0,0 +1,5 @@
;; -*- no-byte-compile: t; -*-
;;; lang/julia/packages.el
(@package julia-mode)