plugins/lsp-format: use lsp.onAttach instead of an autoCmd

This commit is contained in:
Matt Sturgeon 2025-05-06 13:15:34 +01:00
parent a45b5f372f
commit c26f5c2e31
2 changed files with 38 additions and 28 deletions

View file

@ -76,4 +76,19 @@
};
};
};
listed-servers = {
plugins = {
lspconfig.enable = true;
lsp-format = {
enable = true;
lspServersToEnable = [
"foo"
"bar"
"baz"
];
};
};
};
}