about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-sql.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-sql.el')
-rw-r--r--.emacs.d/lisp/init-sql.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-sql.el b/.emacs.d/lisp/init-sql.el
index d71e73d..cf3a89a 100644
--- a/.emacs.d/lisp/init-sql.el
+++ b/.emacs.d/lisp/init-sql.el
@@ -37,7 +37,7 @@
          (format "SQL history will not be saved because %s is nil"
                  (symbol-name rval))))))
 
-  (add-hook 'sql-interactive-mode-hook 'my-sql-save-history-hook))
+  :hook (sql-interactive-mode . my-sql-save-history-hook))
 
 
 (use-package sqlup-mode
@@ -46,9 +46,10 @@
   :hook
   (sql-mode . sqlup-mode)
   (sql-interactive-mode . sqlup-mode)
-  :bind ("C-c c u" . sqlup-capitalize-keywords-in-region))
+  :bind ("C-c c C-u" . sqlup-capitalize-keywords-in-region))
 
 (use-package sql-indent
+  :diminish sqlind-minor-mode
   :commands sqlind-minor-mode)
 
 (use-package sqlformat