diff --git a/README.md b/README.md index 6816858..75fd748 100644 --- a/README.md +++ b/README.md @@ -212,19 +212,10 @@ Runic can be used as a formatter in [Neovim](https://neovim.io/) using [conform.nvim](https://github.com/stevearc/conform.nvim). Refer to the conform.nvim repository for installation and setup instructions. -Runic is not (yet) available directly in conform so the following configuration needs -to be passed to the setup function. This assumes Runic is installed in the `@runic` shared -project as suggested in the [Installation](#installation) section above. Adjust the -`--project` flag if you installed Runic somewhere else. +Runic is available directly in conform and can be configured as follows. This assumes Runic is installed in the `@runic` shared project as suggested in the [Installation](#installation) section above. ```lua require("conform").setup({ - formatters = { - runic = { - command = "julia", - args = {"--project=@runic", "--startup-file=no", "-e", "using Runic; exit(Runic.main(ARGS))"}, - }, - }, formatters_by_ft = { julia = {"runic"}, },