fix: sql-formatter flags

This commit is contained in:
Pavel Korytov 2022-10-28 09:44:59 +03:00
parent d093e755fd
commit bf70b39efe
2 changed files with 3 additions and 3 deletions

View file

@ -2504,7 +2504,7 @@ Returns (<buffer> . <workspace-index>) or nil."
(reformatter-define sqlformat
:program (executable-find "sql-formatter")
:args `("-l" ,my/sqlformatter-dialect, "-u"))
:args `("-l" ,my/sqlformatter-dialect))
(my-leader-def
:keymaps '(sql-mode-map)

View file

@ -66,7 +66,7 @@ First things first, lexical binding.
*** straight.el
Straight.el is my Emacs package manager of choice. Its advantages & disadvantages over other options are listed pretty thoroughly in the README file in the repo.
The following is a straight.el bootstrap script.
The following is the bootstrap script of =straight.el=.
References:
- [[https://github.com/raxod502/straight.el][straight.el repo]]
@ -3443,7 +3443,7 @@ So far I didn't find a nice SQL client for Emacs, but I occasionally run SQL que
(reformatter-define sqlformat
:program (executable-find "sql-formatter")
:args `("-l" ,my/sqlformatter-dialect, "-u"))
:args `("-l" ,my/sqlformatter-dialect))
(my-leader-def
:keymaps '(sql-mode-map)