Fix binding for "capitalize keywords" in sql-layer

Noticed a new warning during startup saying
that sqlup-mode is using "=c" where "=" is no
prefix key. Noticed that the entire binding
was not carried out in this case.

Therefore I have removed "=" from the binding
but left it on "c" until enough text
manipulations are available, then it should
be moved to "x text manipulation" group instead.
This commit is contained in:
smile13241324 2019-04-18 18:58:40 +02:00
parent c339656172
commit 072c01f5f5
1 changed files with 4 additions and 4 deletions

View File

@ -34,9 +34,9 @@
:config
(progn
(setq
;; should not set this to anything else than nil
;; the focus of SQLi is handled by spacemacs conventions
sql-pop-to-buffer-after-send-region nil)
;; should not set this to anything else than nil
;; the focus of SQLi is handled by spacemacs conventions
sql-pop-to-buffer-after-send-region nil)
(advice-add 'sql-add-product :after #'spacemacs/sql-populate-products-list)
(advice-add 'sql-del-product :after #'spacemacs/sql-populate-products-list)
(spacemacs/sql-populate-products-list)
@ -157,7 +157,7 @@
(unless sql-capitalize-keywords-disable-interactive
(add-hook 'sql-interactive-mode-hook 'sqlup-mode))
(spacemacs/set-leader-keys-for-major-mode 'sql-mode
"=c" 'sqlup-capitalize-keywords-in-region))
"c" 'sqlup-capitalize-keywords-in-region))
:config
(progn
(spacemacs|hide-lighter sqlup-mode)