reason-cli icon indicating copy to clipboard operation
reason-cli copied to clipboard

Hi there, can we archive this repo and add instructions to use bsrefmt from bs-platform?

Open peterpme opened this issue 5 years ago • 1 comments

Hi there,

In the process of trying to fix my ale, reason-language-server, languageclient-neovim set up, I stumbled over this repo and I totally forgot about it.

I then realized its quite stale.

Is it possible to archive this and make it easier for newcombers?

Thanks!

peterpme avatar Feb 27 '20 04:02 peterpme

ALE doesn't like using bsrefmt for reason, it gives the following error:

There is no fixer named `bsrefmt`. Check :ALEFixSuggest

However seeing as I'm using coc.nvim with coc-reason which handles the linting and all the linting and LSP, all I need is a command to run refmt.

So (hat tip to this hashrocket post) that you can run:

:!bsrefmt --in-place %

So there's not much need for ALE. Note this only works for me because I installed bs-platform globally.

ianchanning avatar Nov 07 '20 00:11 ianchanning