sqlformat refactor
This commit is contained in:
parent
6330192833
commit
b1954a147a
3 changed files with 123 additions and 121 deletions
|
@ -38,11 +38,12 @@ require("util").keymaps({
|
|||
-- reformat LSP
|
||||
["<leader>lf"] = {
|
||||
function()
|
||||
vim.cmd "SqlMagic"
|
||||
-- vim.cmd "SqlxFormat"
|
||||
vim.lsp.buf.format()
|
||||
end,
|
||||
desc = "Reformat file",
|
||||
},
|
||||
["<leader>lsf"] = { "<cmd>SqlxFormat<cr>", desc = "Format sqlx queries in rust raw string literals." },
|
||||
["<leader>ld"] = {
|
||||
function()
|
||||
vim.diagnostic.open_float()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue