mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
fix: sql-formatter flags
This commit is contained in:
parent
d093e755fd
commit
bf70b39efe
2 changed files with 3 additions and 3 deletions
|
|
@ -2504,7 +2504,7 @@ Returns (<buffer> . <workspace-index>) or nil."
|
||||||
|
|
||||||
(reformatter-define sqlformat
|
(reformatter-define sqlformat
|
||||||
:program (executable-find "sql-formatter")
|
:program (executable-find "sql-formatter")
|
||||||
:args `("-l" ,my/sqlformatter-dialect, "-u"))
|
:args `("-l" ,my/sqlformatter-dialect))
|
||||||
|
|
||||||
(my-leader-def
|
(my-leader-def
|
||||||
:keymaps '(sql-mode-map)
|
:keymaps '(sql-mode-map)
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ First things first, lexical binding.
|
||||||
*** straight.el
|
*** 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.
|
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:
|
References:
|
||||||
- [[https://github.com/raxod502/straight.el][straight.el repo]]
|
- [[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
|
(reformatter-define sqlformat
|
||||||
:program (executable-find "sql-formatter")
|
:program (executable-find "sql-formatter")
|
||||||
:args `("-l" ,my/sqlformatter-dialect, "-u"))
|
:args `("-l" ,my/sqlformatter-dialect))
|
||||||
|
|
||||||
(my-leader-def
|
(my-leader-def
|
||||||
:keymaps '(sql-mode-map)
|
:keymaps '(sql-mode-map)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue