NotAShelf / nvf

A highly modular, extensible and distro-agnostic Neovim configuration framework for Nix/NixOS.
https://notashelf.github.io/nvf/
MIT License
158 stars 26 forks source link

add ocaml support #292

Closed jacekpoz closed 4 months ago

jacekpoz commented 4 months ago

this adds support for the ocaml lsp and formatter

everything seems to be working, the only issue is the lsp gives me a warning about not being able to find the formatter on format: image but it still formats so ¯\_(ツ)_/¯

I think it could be fixed by adding ocamlformat to nvf's environment but I don't know how to do that sowwy uwu

NotAShelf commented 4 months ago

I think it could be fixed by adding ocamlformat to nvf's environment but I don't know how to do that sowwy uwu

nvf exposes a vim.extraPackages option to insert packages into the runtime PATH. You can consider adding ocamlformat there.

jacekpoz commented 4 months ago

that worked thanks