From 21524e9fa7d3dea51d8779b60ed7735c836c2a76 Mon Sep 17 00:00:00 2001 From: Kristian Holme Date: Sat, 6 Sep 2025 15:46:37 +0200 Subject: [PATCH 1/2] Update README.md to reflect direct availability of Runic in conform and simplify configuration instructions. --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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"}, }, From 3db32530377114280c0e06efcc21b8a7aa3366ed Mon Sep 17 00:00:00 2001 From: Kristian Holme Date: Tue, 9 Sep 2025 21:23:14 +0200 Subject: [PATCH 2/2] Clarify README.md to specify the installation of the `runic` CLI script alongside Runic in conform configuration instructions. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75fd748..03f3d93 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ 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 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. +Runic is available directly in conform and can be configured as follows. This assumes Runic is installed in the `@runic` shared project and the `runic` CLI script is installed as suggested in the [Installation](#installation) section above. ```lua require("conform").setup({