Skip to content

Commit

Permalink
docs(readme): add rocks.nvim install instructions (#162)
Browse files Browse the repository at this point in the history
* docs(readme): add rocks.nvim install instructions

---------

Co-authored-by: Fredrik Averpil <[email protected]>
  • Loading branch information
mrcjkb and fredrikaverpil authored Aug 6, 2024
1 parent dddd1c1 commit c5d557d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit c5d557d

Please sign in to comment.