fix: remove redundant formatters_by_ft, fix notifications keymap
This commit is contained in:
parent
fd25eb8f8b
commit
f58d0b9e8c
2 changed files with 4 additions and 12 deletions
|
|
@ -1,17 +1,9 @@
|
|||
{...}: {
|
||||
vim.formatter.conform-nvim = {
|
||||
enable = true;
|
||||
setupOpts = {
|
||||
formatters_by_ft = {
|
||||
lua = ["stylua"];
|
||||
rust = ["rustfmt"];
|
||||
nix = ["alejandra"];
|
||||
python = ["black"];
|
||||
};
|
||||
format_on_save = {
|
||||
timeout_ms = 2000;
|
||||
lsp_format = "fallback";
|
||||
};
|
||||
setupOpts.format_on_save = {
|
||||
timeout_ms = 2000;
|
||||
lsp_format = "fallback";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue