[oni-org] Add some extra structure templates
This commit is contained in:
parent
2225504a3f
commit
fd6c642a7e
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2023.0801.095732
|
;; Version: 2023.0806.002721
|
||||||
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table ob-async)
|
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table ob-async)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -515,6 +515,9 @@ also move point to the start of the heading."
|
||||||
(add-to-list 'org-babel-load-languages '(dot . t))
|
(add-to-list 'org-babel-load-languages '(dot . t))
|
||||||
(add-to-list 'org-babel-load-languages '(gnuplot . t))
|
(add-to-list 'org-babel-load-languages '(gnuplot . t))
|
||||||
|
|
||||||
|
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||||
|
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
||||||
|
|
||||||
(add-hook 'before-save-hook #'oni-org-update-all-dblocks-live)
|
(add-hook 'before-save-hook #'oni-org-update-all-dblocks-live)
|
||||||
(add-hook 'org-mode-hook #'oni-org-set-tag-faces)
|
(add-hook 'org-mode-hook #'oni-org-set-tag-faces)
|
||||||
(add-hook 'org-mode-hook #'oni-org-set-todo-keyword-faces)
|
(add-hook 'org-mode-hook #'oni-org-set-todo-keyword-faces)
|
||||||
|
|
Loading…
Reference in a new issue