File tree 1 file changed +13
-2
lines changed 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ use('MunifTanjim/prettier.nvim')
30
30
31
31
## Setup
32
32
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
+
33
38
### Setting up ` null-ls `
34
39
35
40
For Latest Neovim:
@@ -90,6 +95,7 @@ null_ls.setup({
90
95
end ,
91
96
})
92
97
```
98
+
93
99
</details >
94
100
95
101
### Setting Up ` prettier.nvim `
@@ -119,6 +125,10 @@ prettier.setup({
119
125
})
120
126
```
121
127
128
+ > ** Note**
129
+ >
130
+ > It's highly recommended that you use this plugin with [ ` prettierd ` ] ( https://github.com/fsouza/prettierd ) .
131
+
122
132
You can also supply some options to ` null-ls ` :
123
133
124
134
``` lua
@@ -180,8 +190,9 @@ prettier.setup({
180
190
```
181
191
182
192
_ ** 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+ ` ._
185
196
186
197
## Setup without LSP
187
198
You can’t perform that action at this time.
0 commit comments