languages/ocaml: add formatter to nvf's env

This commit is contained in:
jacekpoz 2024-05-16 14:25:23 +02:00
parent 208d1e6741
commit f343ab8b3a
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ in {
(mkIf cfg.format.enable {
vim.lsp.null-ls.enable = true;
vim.lsp.null-ls.sources.ocamlformat = formats.${cfg.format.type}.nullConfig;
vim.extraPackages = [ formats.${cfg.format.type}.package ];
})
]);
}