diff options
author | Tom Willemse | 2023-08-06 00:28:04 -0700 |
---|---|---|
committer | Tom Willemse | 2023-08-06 00:28:04 -0700 |
commit | fd6c642a7edeb7cb527030f031704e5cc1054c03 (patch) | |
tree | e520c01dfc3fb7511275ca0dc8a048fce1b892e8 /oni-org/oni-org.el | |
parent | 2225504a3f986321f11a4cd584174e9d0d0b0d1f (diff) | |
download | emacs-config-fd6c642a7edeb7cb527030f031704e5cc1054c03.tar.gz emacs-config-fd6c642a7edeb7cb527030f031704e5cc1054c03.zip |
[oni-org] Add some extra structure templates
Diffstat (limited to 'oni-org/oni-org.el')
-rw-r--r-- | oni-org/oni-org.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index bd8c3aa..f882649 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; 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) ;; 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 '(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 'org-mode-hook #'oni-org-set-tag-faces) (add-hook 'org-mode-hook #'oni-org-set-todo-keyword-faces) |