mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 05:12:34 +02:00
Change formater
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -207,6 +207,15 @@
|
||||
desc = "Move to right window";
|
||||
}
|
||||
|
||||
# Format
|
||||
{
|
||||
key = "<leader>lf";
|
||||
mode = "n";
|
||||
silent = true;
|
||||
action = "<cmd>lua require('conform').format({ async = true, lsp_format = 'fallback' })<cr>";
|
||||
desc = "Format file";
|
||||
}
|
||||
|
||||
# Save
|
||||
{
|
||||
key = "<C-s>";
|
||||
|
||||
Reference in New Issue
Block a user