languages/ocaml: add ocaml to maximal config

This commit is contained in:
jacekpoz 2024-05-16 14:36:01 +02:00
parent f343ab8b3a
commit 7224c1e6af
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -73,6 +73,7 @@ inputs: let
go.enable = isMaximal; go.enable = isMaximal;
elixir.enable = isMaximal; elixir.enable = isMaximal;
zig.enable = isMaximal; zig.enable = isMaximal;
ocaml.enable = isMaximal;
python.enable = isMaximal; python.enable = isMaximal;
dart.enable = isMaximal; dart.enable = isMaximal;
bash.enable = isMaximal; bash.enable = isMaximal;

View file

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