feat: Add keybind for sqlfmt
This commit is contained in:
@@ -499,6 +499,12 @@ in rec {
|
||||
pattern = "*.norg";
|
||||
command = "set conceallevel=3";
|
||||
}
|
||||
{
|
||||
event = ["BufEnter" "BufWinEnter"];
|
||||
pattern = "*.sql";
|
||||
# set keymap for F to format using :Sqlfmt
|
||||
command = ["nnoremap <buffer> F :Sqlfmt<cr>"];
|
||||
}
|
||||
{
|
||||
event = ["BufWinLeave"];
|
||||
pattern = "?*";
|
||||
|
||||
Reference in New Issue
Block a user