From c5d557df0a30e6902d53a072416045006a823762 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Tue, 6 Aug 2024 19:20:51 +0200 Subject: [PATCH] docs(readme): add rocks.nvim install instructions (#162) * docs(readme): add rocks.nvim install instructions --------- Co-authored-by: Fredrik Averpil --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df50a6eb..73e27ec8 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,10 @@ present in neotest-golang (this project): ## 🥸 Installation +> [!TIP] +> +> You can run `:checkhealth neotest-golang` to review common issues. + ### 💤 Lazy.nvim ```lua @@ -71,7 +75,16 @@ return { } ``` -You can run `:checkhealth neotest-golang` to review common issues. +### 🌒 Rocks.nvim + +```vim +:Rocks install neotest-golang +``` + +[rocks.nvim](https://github.com/nvim-neorocks/rocks.nvim) will automatically install dependencies if they are not already installed. +You will need to call neotest's `setup` function to register this adapter. +If you use rocks-config.nvim, consider setting up neotest and its adapters in a +[plugin bundle](https://github.com/nvim-neorocks/rocks-config.nvim?tab=readme-ov-file#plugin-bundles). ## ⚙️ Configuration