[sql] Add SQL support to org-mode

This commit is contained in:
Magnus Therning 2019-03-26 08:56:49 +01:00 committed by smile13241324
parent 3afd959181
commit 6184a391b4
2 changed files with 6 additions and 0 deletions

View File

@ -2043,6 +2043,7 @@ Other:
- Added layer variable =sql-auto-indent= to toggle the use of =sql-indent= package
(thanks to David Chen)
- Added a code formatter for sql-mode (thanks to Seong Yong-ju)
- Added connection between =org-mode= and =SQL layer= (thanks to Magnus Therning)
**** Spell-checking
- Added spell checking transient state (thanks to Francesc Elies Henar)
- Update to flyspell-correct v0.5 (thanks to Boris Buliga)

View File

@ -12,6 +12,7 @@
(setq sql-packages
'(
company
org
sql
;; This mode is more up-to-date than the MELPA one.
;; Turns out that it is available in GNU ELPA but we cannot
@ -167,3 +168,7 @@
(spacemacs|add-company-backends
:backends company-capf
:modes sql-mode))
(defun sql/pre-init-org ()
(spacemacs|use-package-add-hook org
:post-config (add-to-list 'org-babel-load-languages '(sql . t))))