diff --git a/modules/plugins/languages/ocaml.nix b/modules/plugins/languages/ocaml.nix index 4ab901b..e7064eb 100644 --- a/modules/plugins/languages/ocaml.nix +++ b/modules/plugins/languages/ocaml.nix @@ -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 ]; }) ]); }