From fd6c642a7edeb7cb527030f031704e5cc1054c03 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 6 Aug 2023 00:28:04 -0700 Subject: [PATCH] [oni-org] Add some extra structure templates --- oni-org/oni-org.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ;; 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)