Skip to content

Commit a14a576

Browse files
committed
docs: format install instructions
1 parent 193f1d7 commit a14a576

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ that are specific to rust-analyzer.
8585

8686
## :inbox_tray: Installation
8787

88-
This plugin is [available on LuaRocks][luarocks-url]:
88+
### [rocks.nvim](https://github.com/nvim-neorocks/rocks.nvim)
8989

90-
[`:Rocks install rustaceanvim`](https://github.com/nvim-neorocks/rocks.nvim)
90+
```vim
91+
:Rocks install rustaceanvim
92+
```
9193

92-
Example using [`lazy.nvim`](https://github.com/folke/lazy.nvim):
94+
### [`lazy.nvim`](https://github.com/folke/lazy.nvim)
9395

9496
```lua
9597
{
@@ -105,12 +107,11 @@ Example using [`lazy.nvim`](https://github.com/folke/lazy.nvim):
105107
106108
To manually generate documentation, use `:helptags ALL`.
107109

108-
>[!NOTE]
109-
>
110-
> For NixOS users with flakes enabled, this project provides outputs in the
111-
> form of a package and an overlay; use it as you wish in your NixOS or
112-
> home-manager configuration.
113-
> It is also available in `nixpkgs`.
110+
### Nix
111+
112+
For Nix users with flakes enabled, this project provides outputs in the
113+
form of a package and an overlay.
114+
It is also available in `nixpkgs`.
114115

115116
Look at the configuration information below to get started.
116117

0 commit comments

Comments
 (0)