update config
This commit is contained in:
@@ -8,7 +8,20 @@
|
||||
;; plantuml-mode https://melpa.org/#/plantuml-mode https://github.com/skuro/plantuml-mode
|
||||
;; dash
|
||||
|
||||
;; https://orgmode.org/worg//org-contrib/babel/languages/ob-doc-dot.html
|
||||
|
||||
;;; Code:
|
||||
(use-package graphviz-dot-mode
|
||||
:commands graphviz-dot-mode
|
||||
:mode ("\\.gv\\'" "\\.dot\\'")
|
||||
:init
|
||||
(with-eval-after-load 'org-src
|
||||
(add-to-list 'org-src-lang-modes '("dot" . graphviz-dot)))
|
||||
:config
|
||||
(setq graphviz-dot-indent-width 2)
|
||||
(setq graphviz-dot-preview-extension "svg")
|
||||
(setq graphviz-dot-view-command "open %s"))
|
||||
|
||||
(use-package gnuplot
|
||||
:commands gnuplot-mode
|
||||
:mode "\\.gp\\'")
|
||||
@@ -18,13 +31,14 @@
|
||||
:commands gnuplot-context-sensitive-mode)
|
||||
|
||||
(use-package plantuml-mode
|
||||
:commands (plantuml-mode org-mode)
|
||||
:commands (plantuml-mode)
|
||||
:init
|
||||
(with-eval-after-load 'org-src
|
||||
(add-to-list 'org-src-lang-modes '("plantuml" . plantuml)))
|
||||
:config
|
||||
;; arch linux aur package path
|
||||
(setq plantuml-jar-path "/usr/share/java/plantuml/plantuml.jar")
|
||||
(setq org-plantuml-jar-path "/usr/share/java/plantuml/plantuml.jar")
|
||||
(with-eval-after-load 'org-src
|
||||
(setq org-src-lang-modes (add-to-list 'org-src-lang-modes '("plantuml" . plantuml)))))
|
||||
(setq org-plantuml-jar-path "/usr/share/java/plantuml/plantuml.jar"))
|
||||
|
||||
(provide 'plot-settings)
|
||||
;;; plot-settings.el ends here
|
||||
|
||||
Reference in New Issue
Block a user