Making prettier allow for wider single-line entries
This commit is contained in:
1 parent
d87f1e19d8
commit
3dc84877a7
1 file changed
+1
-1
@@ -478,7 +478,7 @@ require('formatter').setup {
|
|||||||
function()
|
function()
|
||||||
return {
|
return {
|
||||||
exe = 'prettier',
|
exe = 'prettier',
|
||||||
args = { '--stdin-filepath', vim.api.nvim_buf_get_name(0) },
|
args = { '--stdin-filepath', vim.api.nvim_buf_get_name(0), '--print-width', 120 },
|
||||||
stdin = true,
|
stdin = true,
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in new issue
Block a user