This commit is contained in:
willemml 2023-01-20 08:56:57 -08:00
parent b17429a47e
commit b50199a4e9
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD

View file

@ -495,6 +495,21 @@ in {
htmlize.enable = true; htmlize.enable = true;
gnuplot = {
enable = true;
init = ''
(require 'gnuplot)
(autoload 'gnuplot-mode "gnuplot" "Gnuplot major mode" t)
(autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot-mode" t)
(setq auto-mode-alist (append '(("\\.gp$" . gnuplot-mode)) auto-mode-alist))
(require 'gnuplot-context)
'';
extraPackages = [ pkgs.gnuplot ];
};
org-contrib.enable = true; org-contrib.enable = true;
plantuml-mode = { plantuml-mode = {
@ -534,6 +549,11 @@ in {
after = [ "org" ]; after = [ "org" ];
}; };
ob-gnuplot = {
enable = true;
after = [ "org" ];
};
ob-matlab = { ob-matlab = {
enable = true; enable = true;
after = [ "org" ]; after = [ "org" ];
@ -566,23 +586,39 @@ in {
''; '';
}; };
auctex = { latex = {
enable = true; enable = true;
package = epkgs: epkgs.auctex;
hook = [''
(LaTeX-mode
. (lambda ()
(turn-on-reftex)))
''];
init = '' init = ''
; -*-emacs-lisp-*- (setq TeX-PDF-mode t
(setq TeX-auto-save t) TeX-auto-save t
(setq TeX-parse-self t) TeX-parse-self t)
''; '';
}; };
company-math = { company-math = {
enable = true; enable = true;
after = [ "company" ];
init = '' init = ''
; -*-emacs-lisp-*- ; -*-emacs-lisp-*-
(add-to-list 'company-backends 'company-math-symbols-unicode) (add-to-list 'company-backends 'company-math-symbols-unicode)
''; '';
};
cdlatex = {
enable = true;
after = [ "latex" ];
init = ''
(add-hook 'LaTeX-mode-hook #'turn-on-cdlatex)
'';
};
org-download = { org-download = {
enable = true; enable = true;
@ -679,7 +715,7 @@ in {
}; };
meow = { meow = {
enable = true; enable = false;
init = '' init = ''
; -*-emacs-lisp-*- ; -*-emacs-lisp-*-
(defun meow-setup () (defun meow-setup ()