Update modules/lang/*
This commit is contained in:
parent
f0adef1b01
commit
e14e25ecb4
68 changed files with 1487 additions and 750 deletions
14
modules/lang/julia/autoload.el
Normal file
14
modules/lang/julia/autoload.el
Normal 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))))
|
||||
|
||||
|
|
@ -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
|
||||
|
|
5
modules/lang/julia/packages.el
Normal file
5
modules/lang/julia/packages.el
Normal file
|
@ -0,0 +1,5 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/julia/packages.el
|
||||
|
||||
(@package julia-mode)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue