Skip to content

Commit d98e732

Browse files
committed
docs: add note and warning
1 parent 9a3086f commit d98e732

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ use('MunifTanjim/prettier.nvim')
3030

3131
## Setup
3232

33+
> **Warning**
34+
>
35+
> Prettier won't be automatically installed by this plugin.
36+
> You need to have it installed either globally or locally for the project.
37+
3338
### Setting up `null-ls`
3439

3540
For Latest Neovim:
@@ -90,6 +95,7 @@ null_ls.setup({
9095
end,
9196
})
9297
```
98+
9399
</details>
94100

95101
### Setting Up `prettier.nvim`
@@ -119,6 +125,10 @@ prettier.setup({
119125
})
120126
```
121127

128+
> **Note**
129+
>
130+
> It's highly recommended that you use this plugin with [`prettierd`](https://github.com/fsouza/prettierd).
131+
122132
You can also supply some options to `null-ls`:
123133

124134
```lua
@@ -180,8 +190,9 @@ prettier.setup({
180190
```
181191

182192
_**Note**:_
183-
- _You can only use `prettier.nvim` with `vim.lsp.*` methods if prettier config file is present in your project directory._
184-
- _Supported version of `prettierd` is `0.23.3+`._
193+
194+
- _You can only use `prettier.nvim` with `vim.lsp.*` methods if prettier config file is present in your project directory._
195+
- _Supported version of `prettierd` is `0.23.3+`._
185196

186197
## Setup without LSP
187198

0 commit comments

Comments
 (0)