mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 07:29:49 +01:00
languages/ocaml: add formatter to nvf's env
This commit is contained in:
parent
208d1e6741
commit
f343ab8b3a
1 changed files with 1 additions and 0 deletions
|
@ -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 ];
|
||||
})
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue