From f343ab8b3ab42eb7cad63574ac2179d36e3d2578 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Thu, 16 May 2024 14:25:23 +0200 Subject: [PATCH] languages/ocaml: add formatter to nvf's env --- modules/plugins/languages/ocaml.nix | 1 + 1 file changed, 1 insertion(+) 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 ]; }) ]); }