added sql to babel

This commit is contained in:
ry
2022-01-24 17:40:10 -08:00
parent 3225daa0a1
commit 41e7ea5a0a
2 changed files with 6 additions and 2 deletions

View File

@@ -143,7 +143,8 @@
'org-babel-load-languages 'org-babel-load-languages
'((emacs-lisp . t) '((emacs-lisp . t)
(lisp . t) (lisp . t)
(go . t))) (go . t)
(sql . t)))
(push '("conf-unix" . conf-unix) org-src-lang-modes)) (push '("conf-unix" . conf-unix) org-src-lang-modes))
@@ -155,4 +156,5 @@
(add-to-list 'org-structure-template-alist '("sh" . "src shell")) (add-to-list 'org-structure-template-alist '("sh" . "src shell"))
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp")) (add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
(add-to-list 'org-structure-template-alist '("go" . "src go"))) (add-to-list 'org-structure-template-alist '("go" . "src go")))

View File

@@ -171,7 +171,8 @@ Creates margins in Org mode to make it more pleasant to look at.
'org-babel-load-languages 'org-babel-load-languages
'((emacs-lisp . t) '((emacs-lisp . t)
(lisp . t) (lisp . t)
(go . t))) (go . t)
(sql . t)))
(push '("conf-unix" . conf-unix) org-src-lang-modes)) (push '("conf-unix" . conf-unix) org-src-lang-modes))
@@ -183,6 +184,7 @@ Creates margins in Org mode to make it more pleasant to look at.
(add-to-list 'org-structure-template-alist '("sh" . "src shell")) (add-to-list 'org-structure-template-alist '("sh" . "src shell"))
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp")) (add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
(add-to-list 'org-structure-template-alist '("go" . "src go"))) (add-to-list 'org-structure-template-alist '("go" . "src go")))
#+end_src #+end_src
** Dev ** Dev