added sql to babel
This commit is contained in:
@@ -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")))
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user